product_view.xml 725 B

12345678910111213141516171819
  1. <?xml version='1.0' encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <!-- Product View -->
  5. <record id="product_normal_form_view_sale_history" model="ir.ui.view">
  6. <field name="name">product.product.form</field>
  7. <field name="model">product.product</field>
  8. <field name="inherit_id" ref="product.product_normal_form_view"/>
  9. <field name="arch" type="xml">
  10. <xpath expr="//notebook/page[@string='Sales']" position="after">
  11. <page name="cost" string="Historial de Ventas">
  12. <field name="sale_line_ids"/>
  13. </page>
  14. </xpath>
  15. </field>
  16. </record>
  17. </data>
  18. </openerp>