Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4416 Visualizzazioni

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.

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
gen 23
3468
0
mag 16
3290
0
mag 23
2635
2
set 16
7833
1
lug 15
4587