Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4527 Visualizações

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
Cancelar
Melhor resposta

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

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
jan. 23
3571
0
mai. 16
3350
0
mai. 23
2727
2
set. 16
7951
1
jul. 15
4650