<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="view_partner_bank_account_banking_form_2" model="ir.ui.view">
            <field name="name">Add autocompletion methods to partner bank form</field>
            <field name="model">res.partner.bank</field>
            <field name="inherit_id" ref="base.view_partner_bank_form"/>
            <field name="priority" eval="24"/>
            <field name="arch" type="xml">
                <data>
                    <field name="acc_number" position="attributes">
                        <attribute name="on_change">onchange_acc_number(acc_number, acc_number_domestic, state, partner_id, country_id)</attribute>
                    </field>
                    <field name="acc_number_domestic" position="attributes">
                        <attribute name="on_change">onchange_domestic(acc_number_domestic, partner_id, country_id)</attribute>
                    </field>
                </data>
            </field>
        </record>
    </data>
</openerp>


