跳至內容
選單
此問題已被標幟

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,

頭像
捨棄
最佳答案
<filter name="breakfast" 
string="Product contains: breakfast"
domain="[('product_id','ilike','breakfast')]"/>
頭像
捨棄
作者

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

相關帖文 回覆 瀏覽次數 活動
2
1月 24
14653
3
12月 22
14846
0
3月 15
4933
2
8月 25
433
3
8月 24
7360