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

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ม.ค. 23
3567
0
พ.ค. 16
3347
0
พ.ค. 23
2718
2
ก.ย. 16
7937
1
ก.ค. 15
4647