view.xml 616 B

12345678910111213141516171819
  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <!-- Add update product cost price option in purchase order line. -->
  5. <record id="view_purchase_update_product_cost_price" model="ir.ui.view">
  6. <field name="name">view.purchase.product.prices</field>
  7. <field name="model">purchase.order</field>
  8. <field name="inherit_id" ref="purchase.purchase_order_form"/>
  9. <field name="arch" type="xml">
  10. <xpath expr="//tree/field[@name='state']" position="after">
  11. <field name="update_cost_price"/>
  12. </xpath>
  13. </field>
  14. </record>
  15. </data>
  16. </openerp>