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.

21 lines
1.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2015-2017 ACSONE SA/NV (<http://acsone.eu>)
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  4. <odoo>
  5. <data>
  6. <record model="ir.ui.view" id="view_account_journal_pos_user_form">
  7. <field name="name">POS Journal (pos_payment_entries_globalization)</field>
  8. <field name="model">account.journal</field>
  9. <field name="inherit_id" ref="point_of_sale.view_account_journal_pos_user_form"/>
  10. <field name="arch" type="xml">
  11. <xpath expr="//group[@name='amount_authorized']" position="after">
  12. <group string="Payment Globalization" name="globalization">
  13. <field name="pos_payment_globalization" />
  14. <field name="pos_payment_globalization_account" attrs="{'required': [('pos_payment_globalization', '=', True)], 'invisible': [('pos_payment_globalization', '=', False)]}"/>
  15. <field name="pos_payment_globalization_journal" attrs="{'required': [('pos_payment_globalization', '=', True)], 'invisible': [('pos_payment_globalization', '=', False)]}"/>
  16. </group>
  17. </xpath>
  18. </field>
  19. </record>
  20. </data>
  21. </odoo>