sale_product_view.xml 1.2 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <!-- Inherited sale order form view -->
  5. <record id="view_order_image_form_inherit" model="ir.ui.view">
  6. <field name="name">sale.order.form.sale.image</field>
  7. <field name="model">sale.order</field>
  8. <field name="inherit_id" ref="sale.view_order_form"/>
  9. <field name="arch" type="xml">
  10. <xpath expr="//page[@string='Order Lines']/field[@name='order_line']/form[@string='Sales Order Lines']/group/group/field[@name='product_id']" position="after">
  11. <field name="image_medium" widget="image" string="Imagen"/>
  12. </xpath>
  13. <xpath expr="//page[@string='Order Lines']/field[@name='order_line']/tree[@string='Sales Order Lines']/field[@name='product_id']" position="after">
  14. <field name="image_medium" widget="image" string="Imagen"/>
  15. </xpath>
  16. <field name="client_order_ref" position="after">
  17. <field name="print_image"/>
  18. <field name="image_sizes"/>
  19. </field>
  20. </field>
  21. </record>
  22. </data>
  23. </openerp>