تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
7933 أدوات العرض

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
فبراير 21
3800
2
أكتوبر 20
3179
1
أكتوبر 20
10480
2
فبراير 20
6721
1
أغسطس 19
10595