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

Hi folks:

In a standard list view, for example, it is possible to pass a context value of "{'group_by': ['<field_name']}" in the window action which results in the data in the view being displayed in a grouped form by default.

Is it possible to achieve the same result in the tree view of a one2many field in a form? Something similar to what is being described in the following blog post. The solution in the post is 7 years old and does not seem to work with Odoo 13.

http://www.zbeanztech.com/blog/filtering-one2many-fields-openerp

Thanks much for taking the time to respond to my question.

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

No, it's not supported by any versions odoo web framework 

ref: https://www.odoo.com/forum/help-1/question/group-by-one2many-tree-view-inside-a-form-view-165711#answer-174320

อวตาร
ละทิ้ง
ผู้เขียน

Thanks Ravi

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 21
3733
2
ต.ค. 20
3109
1
ต.ค. 20
10411
2
ก.พ. 20
6646
how get value from one2many field? แก้ไขแล้ว
1
ส.ค. 19
10503