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.

64 lines
3.2 KiB

5 years ago
5 years ago
5 years ago
  1. <?xml version="1.0"?>
  2. <odoo>
  3. <record id="pos_config_view_form_inherit_balance" model="ir.ui.view">
  4. <field name="name">pos.config.form.inherit.balance</field>
  5. <field name="model">pos.config</field>
  6. <field name="inherit_id" ref="point_of_sale.pos_config_view_form"/>
  7. <field name="arch" type="xml">
  8. <div id="posbox_reference" position="inside">
  9. <div id="caisse" class="col-12 col-lg-6 o_setting_box">
  10. <div class="o_setting_left_pane">
  11. </div>
  12. <div class="o_setting_right_pane">
  13. <span class="o_form_label">Caisse ID</span>
  14. <div class="text-muted">
  15. Définition de l'ID Caisse pour l'API
  16. </div>
  17. <div class="content-group" attrs="{'invisible': [('is_balance_free', '!=', False)]}">
  18. <div class="row mt16">
  19. <label for="caisse_id" class="col-lg-3 o_light_label"/>
  20. <field name="caisse_id"/>
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. <div id="balance_free" class="col-12 col-lg-6 o_setting_box">
  26. <div class="o_setting_left_pane">
  27. <field name="is_balance_free"/>
  28. </div>
  29. <div class="o_setting_right_pane">
  30. <label for="is_balance_free"/>
  31. <div class="text-muted">
  32. Active le mode balance libre service
  33. </div>
  34. <div class="content-group" attrs="{'invisible': [('is_balance_free', '=', False)]}">
  35. <div class="row mt16">
  36. <label for="balance_id" class="col-lg-3 o_light_label"/>
  37. <field name="balance_id" attrs="{'required': [('is_balance_free', '=', True)]}"/>
  38. </div>
  39. <div class="row mt16">
  40. <label for="is_comptoir" class="col-lg-3 o_light_label"/>
  41. <field name="is_comptoir"/>
  42. </div>
  43. <div class="row mt16">
  44. <label for="logo_balance" class="col-lg-3 o_light_label"/>
  45. <field name="logo_balance" widget="image"/>
  46. </div>
  47. <div class="row mt16">
  48. <label for="explication_header" class="col-lg-3 o_light_label"/>
  49. <field name="explication_header" />
  50. </div>
  51. <div class="row mt16">
  52. <label for="weight_default" class="col-lg-3 o_light_label"/>
  53. <field name="weight_default" />
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </field>
  60. </record>
  61. </odoo>