跳至内容
菜单
此问题已终结

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
1月 23
3566
0
5月 16
3347
0
5月 23
2718
2
9月 16
7935
1
7月 15
4647