Skip to content

Commit

Permalink
improved
Browse files Browse the repository at this point in the history
  • Loading branch information
dhecar committed Sep 1, 2016
1 parent cd17345 commit 72c49b5
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions sine_motoscoot_stock/product_motoscoot_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@

<field name="list_price" position="after">
<field name="pvp_fabricante" label="Precio Base TT"/>
<!--<field name="stock_grn" label="GRN"/>
<field name="stock_bcn" label="BCN"/>
<field name="stock_pt" label="PT"/>-->
<field name="test" label="Stocks"/>
<field name="shared"/>
<field name="internet" readonly="1" label="Internet" icon="ICON_MAGENTO" />
Expand All @@ -107,6 +104,21 @@
</field>
</field>
</record>


<record model="ir.ui.view" id="ean_filter">
<field name="name">ean.search</field>
<field name="model">product.product</field>
<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>

</field>
</record>

</data>
</openerp>

Expand Down

0 comments on commit 72c49b5

Please sign in to comment.