|
@@ -7,11 +7,17 @@
|
|
|
<field name="model">stock.inventory</field>
|
|
|
<field name="inherit_id" ref="stock.view_inventory_form"/>
|
|
|
<field name="arch" type="xml">
|
|
|
- <xpath expr="//tree[@string='Inventory Details']//field[@name='product_id']" position="after">
|
|
|
+ <xpath expr="//tree[@string='Inventory Details']" position="attributes">
|
|
|
+ <attribute name="default_order">product_id asc, ean13 asc</attribute>
|
|
|
+ </xpath>
|
|
|
+ <xpath expr="//tree[@string='Inventory Details']//field[@name='product_id']" position="after">
|
|
|
+ <field name="ean13"/>
|
|
|
+ </xpath>
|
|
|
+ <!-- <xpath expr="//tree[@string='Inventory Details']//field[@name='product_id']" position="after">
|
|
|
<field name="ean13"/>
|
|
|
- </xpath>
|
|
|
+ </xpath> -->
|
|
|
</field>
|
|
|
</record>
|
|
|
-
|
|
|
+
|
|
|
</data>
|
|
|
</openerp>
|