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

i am trying to filter those delivery order whose product contain "breakfast".the domain filter which i am using in action is :

<field name="domain">[('pack_operation_product_ids','=','breakfast')]</field>

but, it is returning all the records without filtering it.

i want it to filter all records like this, when "all transfer" menu item is clicked.

Thanks,

Awatar
Odrzuć
Najlepsza odpowiedź
<filter name="breakfast" 
string="Product contains: breakfast"
domain="[('product_id','ilike','breakfast')]"/>
Awatar
Odrzuć
Autor

Thanks it works, sorry dont have enough karma to vote up your answer.

Powiązane posty Odpowiedzi Widoki Czynność
2
sty 24
14615
3
gru 22
14702
0
mar 15
4875
1
sie 25
235
3
sie 24
7275