stock_inventory_product_ean13.xml 1002 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="stock_inventory_ean13">
  5. <field name="name">stock.inventory.ean13</field>
  6. <field name="model">stock.inventory</field>
  7. <field name="inherit_id" ref="stock.view_inventory_form"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//tree[@string='Inventory Details']" position="attributes">
  10. <attribute name="default_order">product_id asc, ean13 asc</attribute>
  11. </xpath>
  12. <xpath expr="//tree[@string='Inventory Details']//field[@name='product_id']" position="after">
  13. <field name="ean13"/>
  14. </xpath>
  15. <!-- <xpath expr="//tree[@string='Inventory Details']//field[@name='product_id']" position="after">
  16. <field name="ean13"/>
  17. </xpath> -->
  18. </field>
  19. </record>
  20. </data>
  21. </openerp>