~acsone-openerp/banking-addons/ba-70-payment-export-refactoring

« back to all changes in this revision

Viewing changes to account_banking/data/account_banking_data.xml

  • Committer: Stefan Rijnhart
  • Date: 2012-02-19 21:10:20 UTC
  • mto: This revision was merged to the branch mainline in revision 110.
  • Revision ID: stefan@therp.nl-20120219211020-lboldmeobyx3wvk6
[RFR] Adjust to changes in base_iban:
        preserve the domestic account number for IBANs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<openerp>
3
3
    <data>
4
 
        <!-- Re-introduce changes that were removed in 6.1 -->
5
 
        <record id="bank_iban_field" model="res.partner.bank.type.field">
6
 
            <field name="name">iban</field>
7
 
            <field name="bank_type_id" ref="base_iban.bank_iban"/>
8
 
            <field eval="True" name="required"/>
9
 
            <field eval="False" name="readonly"/>
10
 
        </record>
11
 
 
12
 
        <!-- Unset readonly state of acc_number for IBAN accounts.
13
 
             Leaving it will make it impossible to deduce BBAN's from any
14
 
             client.
15
 
        -->
16
 
        <record id="bank_acc_number_field" model="res.partner.bank.type.field">
17
 
            <field name="name">acc_number</field>
18
 
            <field name="bank_type_id" ref="base_iban.bank_iban"/>
19
 
            <field eval="False" name="required"/>
20
 
            <field eval="False" name="readonly"/>
21
 
        </record>
22
4
        <!-- Unset readonly state of country_id for ordinary account.
23
5
             Leaving it will make it impossible to use bank accounts with
24
6
             addresses outside the companies country.