Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
9712 Zobrazení

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 ?

Avatar
Zrušit
Nejlepší odpověď

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

 < tree expand="1">  

I hope this will solve your problem.

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit

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

Autor Nejlepší odpověď

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 ?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 23
1966
1
čvc 25
2308
2
čvc 25
7779
2
čvc 25
4192
2
čvc 25
3977