콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
8247 화면

Is it possible to show groups (columns) without any items in Kanban view of Odoo10?

I found an article how to do that in Odoo8, but the way that is described there doesn't seem to work anymore:

http://ludwiktrammer.github.io/odoo/odoo-grouping-kanban-view-empty.html

아바타
취소
작성자

It looks like if you use Selection field for the group, it doesn't work, but if Many2one is used, then it is showing the empty columns.

베스트 답변

Hi

I think it's possible to create those groups in you xml file, just like in this tutorial https://www.odoo.com/documentation/9.0/howtos/backend.html you can add partner catagory (in the "domain" chapter). If you make a group_by with those elements created they should be displayed.

아바타
취소
베스트 답변
field_name= fields.Many2one('model.name', string="Label", group_expand='_function_name')

@api.model
def _function_name(self,stages,domain,order):
    columns_ids = self.env['columns.model'].search([])
    ​return columns_ids
아바타
취소
관련 게시물 답글 화면 활동
1
2월 19
4938
3
12월 23
21549
0
8월 18
5499
2
5월 18
4034
2
7월 25
4263