Skip to Content
Menu
You need to be registered to interact with the community.
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
Opusti
Best Answer
<filter name="breakfast" 
string="Product contains: breakfast"
domain="[('product_id','ilike','breakfast')]"/>
Avatar
Opusti
Avtor

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

Related Posts Odgovori Prikazi Aktivnost
2
jan. 24
14635
3
dec. 22
14764
0
mar. 15
4907
2
avg. 25
349
3
avg. 24
7313