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.

53 lines
2.5 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="reprint_done_order">
  14. <div class="o_setting_left_pane">
  15. <field name="iface_reprint_done_order"/>
  16. </div>
  17. <div class="o_setting_right_pane">
  18. <label string="Reprint Done Orders" for="iface_reprint_done_order"/>
  19. <div class="text-muted">
  20. Allow to reprint done orders in this POS
  21. </div>
  22. </div>
  23. </div>
  24. <div class="col-xs-12 col-md-6 o_setting_box" id="return_done_order">
  25. <div class="o_setting_left_pane">
  26. <field name="iface_return_done_order"/>
  27. </div>
  28. <div class="o_setting_right_pane">
  29. <label string="Return Done Orders" for="iface_return_done_order"/>
  30. <div class="text-muted">
  31. Allow to return done orders in this POS
  32. </div>
  33. </div>
  34. </div>
  35. <div class="col-xs-12 col-md-6 o_setting_box" id="load_done_order_max_qty"
  36. attrs="{'invisible': [('iface_reprint_done_order', '=', False),
  37. ('iface_return_done_order', '=', False)]}">
  38. <div class="o_setting_right_pane">
  39. <label string="Load Done Order Max Qty." for="iface_load_done_order_max_qty"/>
  40. <div class="text-muted">
  41. Maximum number orders to load
  42. </div>
  43. <div class="content-group mt16">
  44. <field name="iface_load_done_order_max_qty" class="oe_inline"/>
  45. </div>
  46. </div>
  47. </div>
  48. </xpath>
  49. </field>
  50. </record>
  51. </odoo>