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.

63 lines
3.0 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="model">pos.config</field>
  9. <field name="inherit_id" ref="point_of_sale.pos_config_view_form"/>
  10. <field name="arch" type="xml">
  11. <xpath expr="//div[@id='receipt']" position="inside">
  12. <div class="col-xs-12 col-md-6 o_setting_box" id="reprint_done_order">
  13. <div class="o_setting_left_pane">
  14. <field name="iface_reprint_done_order"/>
  15. </div>
  16. <div class="o_setting_right_pane">
  17. <label string="Reprint Done Orders" for="iface_reprint_done_order"/>
  18. <div class="text-muted">
  19. Allow to reprint done orders in this POS
  20. </div>
  21. </div>
  22. </div>
  23. <div class="col-xs-12 col-md-6 o_setting_box" id="return_done_order">
  24. <div class="o_setting_left_pane">
  25. <field name="iface_return_done_order"/>
  26. </div>
  27. <div class="o_setting_right_pane">
  28. <label string="Return Done Orders" for="iface_return_done_order"/>
  29. <div class="text-muted">
  30. Allow to return done orders in this POS
  31. </div>
  32. </div>
  33. </div>
  34. <div class="col-xs-12 col-md-6 o_setting_box" id="copy_done_order">
  35. <div class="o_setting_left_pane">
  36. <field name="iface_copy_done_order"/>
  37. </div>
  38. <div class="o_setting_right_pane">
  39. <label string="Duplicate Done Orders" for="iface_copy_done_order"/>
  40. <div class="text-muted">
  41. Allow to duplicate done orders in this POS
  42. </div>
  43. </div>
  44. </div>
  45. <div class="col-xs-12 col-md-6 o_setting_box" id="load_done_order_max_qty"
  46. attrs="{'invisible': [('iface_reprint_done_order', '=', False),
  47. ('iface_return_done_order', '=', False)]}">
  48. <div class="o_setting_right_pane">
  49. <label string="Load Done Order Max Qty." for="iface_load_done_order_max_qty"/>
  50. <div class="text-muted">
  51. Maximum number orders to load
  52. </div>
  53. <div class="content-group mt16">
  54. <field name="iface_load_done_order_max_qty" class="oe_inline"/>
  55. </div>
  56. </div>
  57. </div>
  58. </xpath>
  59. </field>
  60. </record>
  61. </odoo>