templates.xml 814 B

123456789101112131415161718192021
  1. <openerp>
  2. <data>
  3. <template id="pos_client" name="pos client" inherit_id="web.assets_backend">
  4. <xpath expr="." position="inside">
  5. <script type="text/javascript" src="/pos_validate_client/static/src/js/pos_client.js"></script>
  6. </xpath>
  7. </template>
  8. <record id="view_pos_customer_form" model="ir.ui.view">
  9. <field name="name">pos.customer.form.view</field>
  10. <field name="model">pos.config</field>
  11. <field name="inherit_id" ref="point_of_sale.view_pos_config_form"/>
  12. <field name="arch" type="xml">
  13. <xpath expr="//field[@name='iface_invoicing']" position="after">
  14. <field name="is_customer_mandatory" id="is_mendatory"/>
  15. </xpath>
  16. </field>
  17. </record>
  18. </data>
  19. </openerp>