跳至内容
菜单
此问题已终结

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
14614
3
12月 22
14699
0
3月 15
4873
1
8月 25
231
3
8月 24
7273