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.

41 lines
1.8 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Copyright 2018 GRAP - Sylvain LE GAL
  3. Copyright 2018 Tecnativa - David Vidal
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  5. -->
  6. <odoo>
  7. <record id="view_pos_config_form" model="ir.ui.view">
  8. <field name="name">pos.config.form</field>
  9. <field name="model">pos.config</field>
  10. <field name="inherit_id" ref="point_of_sale.pos_config_view_form"/>
  11. <field name="arch" type="xml">
  12. <xpath expr="//div[@id='receipt']" position="inside">
  13. <div class="col-xs-12 col-md-6 o_setting_box" id="load_done_order">
  14. <div class="o_setting_left_pane">
  15. <field name="iface_load_done_order"/>
  16. </div>
  17. <div class="o_setting_right_pane">
  18. <label string="Load Done Orders"/>
  19. <div class="text-muted">
  20. Allow to load done orders in this POS
  21. </div>
  22. </div>
  23. </div>
  24. <div class="col-xs-12 col-md-6 o_setting_box" id="load_done_order_max_qty"
  25. attrs="{'invisible': [('iface_load_done_order', '=', False)]}">
  26. <div class="o_setting_right_pane">
  27. <label string="Load Done Order Max Qty."/>
  28. <div class="text-muted">
  29. Maximum number orders to load
  30. </div>
  31. <div class="content-group mt16">
  32. <field name="iface_load_done_order_max_qty" class="oe_inline"/>
  33. </div>
  34. </div>
  35. </div>
  36. </xpath>
  37. </field>
  38. </record>
  39. </odoo>