Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4664 Представления

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
3735
0
мая 16
3477
0
мая 23
2901
2
сент. 16
8118
1
июл. 15
4740