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

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.

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

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks Ravi

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 21
3740
2
thg 10 20
3120
1
thg 10 20
10428
2
thg 2 20
6672
1
thg 8 19
10512