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.

39 lines
1.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright 2019 Brainbean Apps (https://brainbeanapps.com)
  4. License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
  5. -->
  6. <odoo>
  7. <record model="ir.ui.view" id="online_bank_statement_provider_form">
  8. <field name="name">online.bank.statement.provider.form</field>
  9. <field name="model">online.bank.statement.provider</field>
  10. <field name="inherit_id" ref="account_bank_statement_import_online.online_bank_statement_provider_form"/>
  11. <field name="arch" type="xml">
  12. <xpath expr="//page[@name='configuration']" position="inside">
  13. <group attrs="{'invisible': [('service', '!=', 'paypal')]}">
  14. <group>
  15. <field
  16. name="api_base"
  17. string="API base"
  18. groups="base.group_no_one"
  19. />
  20. <field
  21. name="username"
  22. string="Client ID"
  23. password="True"
  24. attrs="{'required': [('service', '=', 'paypal')]}"
  25. />
  26. <field
  27. name="password"
  28. string="Secret"
  29. password="True"
  30. attrs="{'required': [('service', '=', 'paypal')]}"
  31. />
  32. </group>
  33. </group>
  34. </xpath>
  35. </field>
  36. </record>
  37. </odoo>