You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
877 B

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2017 - Today: GRAP (http://www.grap.coop)
  4. @author Sylvain LE GAL (https://twitter.com/legalsylvain)
  5. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  6. -->
  7. <odoo>
  8. <record id="view_pos_order_form" model="ir.ui.view">
  9. <field name="model">pos.order</field>
  10. <field name="inherit_id" ref="point_of_sale.view_pos_pos_form"/>
  11. <field name="arch" type="xml">
  12. <xpath expr="//group[@name='order_total']" position="after">
  13. <group name="margin">
  14. <field name="margin" widget='monetary'/>
  15. </group>
  16. </xpath>
  17. <xpath expr="//field[@name='lines']/tree/field[@name='price_unit']" position="after">
  18. <field name="purchase_price"/>
  19. </xpath>
  20. </field>
  21. </record>
  22. </odoo>