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

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="iap_account_view_form" model="ir.ui.view">
<field name="model">iap.account</field>
<field name="inherit_id" ref="iap.iap_account_view_form" />
<field name="arch" type="xml">
<xpath expr="//group[@name='account']" position="before">
<group string="Info" name="info">
<field name="provider" />
<field name="name" />
</group>
</xpath>
<group name="account" position="attributes">
<attribute
name="attrs"
>{'invisible': [('provider', '!=', 'odoo')]}</attribute>
</group>
</field>
</record>
</odoo>