İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4495 Görünümler

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
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Oca 23
3564
0
May 16
3346
0
May 23
2713
2
Eyl 16
7931
1
Tem 15
4647