Skip to Content
Menu
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,

Portretas
Atmesti
Best Answer
<filter name="breakfast" 
string="Product contains: breakfast"
domain="[('product_id','ilike','breakfast')]"/>
Portretas
Atmesti
Autorius

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

Related Posts Replies Rodiniai Veikla
2
saus. 24
14630
3
gruod. 22
14745
0
kov. 15
4890
1
rugp. 25
314
3
rugp. 24
7296