Commit 2d3b542e by François C.

Merge branch…

Merge branch '6063-SUPERCAFOUTCH-recherche-par-code-barre-sur-produits-actifs-ou-non' into 'dev_cooperatic'

add new search by barcode option in product_custom_search_view_2 with context…

See merge request !71
parents 056920e2 334a33fa
...@@ -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