Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sty 23
3572
0
maj 16
3353
0
maj 23
2731
2
wrz 16
7965
1
lip 15
4653