Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
9771 มุมมอง

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 ?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

 < tree expand="1">  

I hope this will solve your problem.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง

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

ผู้เขียน คำตอบที่ดีที่สุด

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 ?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 23
2001
1
ก.ค. 25
2343
2
ก.ค. 25
7827
2
ก.ค. 25
4221
2
ก.ค. 25
4006