Files
bank-payment/account_banking/data/account_banking_data.xml
Stefan Rijnhart c9a655cc20 [REF] Payment wizards are now new style (osv_memory) wizards
[FIX] Allow for ClieOp export with empty reference
2011-07-21 13:30:59 +02:00

35 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- Unset readonly state of acc_number for IBAN accounts.
Leaving it will make it impossible to deduce BBAN's from any
client.
-->
<record id="bank_acc_number_field" model="res.partner.bank.type.field">
<field name="name">acc_number</field>
<field name="bank_type_id" ref="base_iban.bank_iban"/>
<field eval="False" name="required"/>
<field eval="False" name="readonly"/>
</record>
<!-- Unset readonly state of country_id for ordinary account.
Leaving it will make it impossible to use bank accounts with
addresses outside the companies country.
Ratio: one can have bank accounts in foreign banks. Foreign
addresses not automatically involve international banking.
-->
<record id="base.bank_normal_field_contry" model="res.partner.bank.type.field">
<field name="name">country_id</field>
<field name="bank_type_id" ref="base.bank_normal"/>
<field eval="False" name="required"/>
<field eval="False" name="readonly"/>
</record>
<!-- Add manual bank transfer as default payment option -->
<record model="payment.mode.type" id="account_banking.manual_bank_tranfer">
<field name="name">Manual Bank Transfer</field>
<field name="code">BANKMAN</field>
<field name="suitable_bank_types"
eval="[(6,0,[ref('base.bank_normal'),ref('base_iban.bank_iban'),])]" />
</record>
</data>
</openerp>