stock_inventory_line.xml 615 B

1234567891011121314151617
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_order_add_code_form" model="ir.ui.view">
  5. <field name="name">view.order.add.code.form</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="//field[@name='line_ids']/tree//field[@name='product_id']" position="after">
  10. <field name="product_code" read_only="1"/>
  11. </xpath>
  12. </field>
  13. </record>
  14. </data>
  15. </openerp>