Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
9516 Lượt xem

In v.14, I would like to expand list on tree view by group by. 

I added expand=1 in group tag on search view, still not expand list

Is there way to do this ?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Add expand="1" on tree view to expand list.

 < tree expand="1">  

I hope this will solve your problem.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Send the "group_by" attribute inside context tag of your action.
Ex:- {'group_by':['partner_id']}

Ảnh đại diện
Huỷ bỏ

There is a module "Web GroupBy Expand" available in odoo store for v13.
https://apps.odoo.com/apps/modules/12.0/web_groupby_expand/

Tác giả Câu trả lời hay nhất

Thanks for your answer. I try to add {'group_by':['partner_id']} in context on the window action, the result is real group by but NOT expand in each group. I would like to expand group like this picture https://www.dropbox.com/s/u54wxm1s8vwn8cf/Selection_353.png. 

Do you have any idea for do this ?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 23
1862
2
thg 7 25
2956
2
thg 6 25
1787
0
thg 5 25
14
2
thg 1 25
3343