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

        <!-- add the field to the partner bank form, as defined in 
        the base module -->
        <record id="view_partner_bank_form" model="ir.ui.view">
            <field name="name">res.partner.bank.form</field>
            <field name="model">res.partner.bank</field>
            <field name="inherit_id" ref="base.view_partner_bank_form"/>
            <field name="arch" type="xml">
                <field name="acc_number" position="after">
                    <newline/>
                    <field name="acc_number_domestic"
                           attrs="{'invisible': [('state', '!=', 'iban')]}"
                           />
                </field>
            </field>
        </record>

    </data>
</openerp>
