Pular para o conteúdo
Menu
Esta pergunta foi sinalizada

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
Cancelar
Melhor resposta
<filter name="breakfast" 
string="Product contains: breakfast"
domain="[('product_id','ilike','breakfast')]"/>
Avatar
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
2
jan. 24
14676
3
dez. 22
14866
0
mar. 15
4968
2
ago. 25
464
3
ago. 24
7372