Commit 334a33fa by Yvon

add new search by barcode option in product_custom_search_view_2 with context…

add new search by barcode option in product_custom_search_view_2 with context active_test false to show inactive products as well
parent 056920e2
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
<field name="name" position="after"> <field name="name" position="after">
<field name="seller_ids" string="Vendor Product Code" <field name="seller_ids" string="Vendor Product Code"
filter_domain="[('seller_ids.product_code','ilike',self)]" /> filter_domain="[('seller_ids.product_code','ilike',self)]" />
<field name="barcode" string="Code barre (actifs ou non)"
context="{'active_test': False}"
filter_domain="[('barcode','ilike',self)]" />
</field> </field>
</field> </field>
</record> </record>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment