<?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" />
                    <field name="company_ids" position="move" />
                </group>
            </xpath>
            <group name="account" position="attributes">
                <attribute
                    name="attrs"
                >{'invisible': [('provider', '!=', 'odoo')]}</attribute>
            </group>
        </field>
    </record>
</odoo>
