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.

23 lines
1.1 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2019 ACSONE SA/NV
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  4. <odoo>
  5. <record model="ir.ui.view" id="pos_config_form_view">
  6. <field name="name">pos.config.form (in pos_payment_multi_terminal)</field>
  7. <field name="model">pos.config</field>
  8. <field name="inherit_id" ref="point_of_sale.view_pos_config_form"/>
  9. <field name="arch" type="xml">
  10. <field name="iface_cashdrawer" position="after">
  11. <field name="use_payment_terminal_server"/>
  12. <field name="iface_payment_terminal_server"
  13. placeholder="http://localhost:8070"
  14. attrs="{'required': [('use_payment_terminal_server', '!=', False)], 'invisible': [('use_payment_terminal_server', '=', False)]}"/>
  15. <field name="iface_payment_terminal_id"
  16. attrs="{'required': [('use_payment_terminal_server', '!=', False)], 'invisible': [('use_payment_terminal_server', '=', False)]}"/>
  17. </field>
  18. </field>
  19. </record>
  20. </odoo>