Skip to Content
Menú
This question has been flagged

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,

Avatar
Descartar
Best Answer
<filter name="breakfast" 
string="Product contains: breakfast"
domain="[('product_id','ilike','breakfast')]"/>
Avatar
Descartar
Autor

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

Related Posts Respostes Vistes Activitat
2
de gen. 24
14617
3
de des. 22
14707
0
de març 15
4877
1
d’ag. 25
244
3
d’ag. 24
7279