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

If I create a separate filter for the domain and the group by, they work fine. But I want the user to be able to select both of them from the same click.

I am trying to create the following filter

<filter name="En Route"
domain="[('delivery_state', '=', 'en_route')]"
context="{'group_by': 'vehicle_id'}"/>

When I do this, Odoo ignores the domain and only creates a group by filter.

الصورة الرمزية
إهمال
أفضل إجابة

You need to create a custom filter via record. Check out xmlid filter_invoice_refund for more info.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يناير 23
3567
0
مايو 16
3347
0
مايو 23
2719
2
سبتمبر 16
7939
1
يوليو 15
4647