Skip to content

Commit

Permalink
[IMP] ean13 add in search
Browse files Browse the repository at this point in the history
  • Loading branch information
dhecar committed Sep 17, 2016
1 parent a2a46c7 commit 1699624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sine_motoscoot_stock/product_motoscoot_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
<field name="inherit_id" ref="product.product_search_form_view" />
<field name="type">search</field>
<field name="arch" type="xml">
<xpath expr="//search[@string='Product']/field[@name='name']" position="after">
<field name="ean13" string="EAN" filter_domain="[('ean13','ilike',self)]" />
<xpath expr="//search[@string='Product']/field[@name='name']" position="inside">
<field name="ean13" string="EAN" filter_domain="['|',('ean13','ilike',self)]" />
</xpath>

</field>
Expand Down

0 comments on commit 1699624

Please sign in to comment.