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.

20 lines
765 B

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <odoo>
  3. <record id="iap_account_view_form" model="ir.ui.view">
  4. <field name="model">iap.account</field>
  5. <field name="inherit_id" ref="iap.iap_account_view_form" />
  6. <field name="arch" type="xml">
  7. <xpath expr="//group[@name='account']" position="before">
  8. <group string="Info" name="info">
  9. <field name="provider" />
  10. <field name="name" />
  11. </group>
  12. </xpath>
  13. <group name="account" position="attributes">
  14. <attribute
  15. name="attrs"
  16. >{'invisible': [('provider', '!=', 'odoo')]}</attribute>
  17. </group>
  18. </field>
  19. </record>
  20. </odoo>