<?xml version="1.0" encoding="utf-8"?>
<terp>
    <data>

        <record id="view_partner_bank_iban_form" model="ir.ui.view">
            <field name="name">res.partner.bank.form.iban.inherit</field>
            <field name="model">res.partner.bank</field>
            <field name="inherit_id" ref="base.view_partner_bank_form"/>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <field name="acc_number" position="after">
                    <newline/>
                    <field name="iban"/>
                    <newline/>
                </field>
            </field>
        </record>
        
        <record id="view_partner_abnk_iban_tree" model="ir.ui.view">
            <field name="name">res.partner.bank.tree.iban.inherit</field>
            <field name="model">res.partner.bank</field>
            <field name="inherit_id" ref="base.view_partner_bank_tree"/>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <field name="acc_number" position="after">
                    <field name="iban"/>
                </field>
            </field>
        </record>

    <!-- view for res.partner -->
        <record id="view_partner_iban_form" model="ir.ui.view">
            <field name="name">res.partner.form.iban.inherit</field>
            <field name="model">res.partner</field>
            <field name="inherit_id" ref="base.view_partner_form"/>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <field name="acc_number" position="after">
                    <newline/>
                    <field name="iban"/>
                    <newline/>
                </field>
            </field>
        </record>

    </data>
</terp>
