Define a new res.partner.bank.type.field "iban-rib" to store both RIB (old French...
authorAlexis de Lattre <alexis@via.ecp.fr>
Fri, 27 Jan 2012 15:01:03 +0000 (16:01 +0100)
committerAlexis de Lattre <alexis@via.ecp.fr>
Fri, 27 Jan 2012 15:01:03 +0000 (16:01 +0100)
commit31c2873468d85251c361f0e617e27966298f0a83
tree349314ecf74ba1e147cf212a7dc5f237c3285449
parent8fd922a96aa7e75cabb7f8a96b2e7dfe31d1ff3c
Define a new res.partner.bank.type.field "iban-rib" to store both RIB (old French format) and I
BAN on the same res.partner.bank.

On res.partner.bank, we now use the field 'rib_acc_number' instead of 'acc_number' to store the RIB bank account number.

Fix inheritance of the view 'view_partner_rib1_form' : it must inherit account.view_partner_property_form and not base.view_partner_form !

Add RIB fields to standard tree and form of res.partner.bank (not just the res.partner form view)

Add max size on RIB fields.

Replaced _construct_constraint_msg function by a raise in the check function : it simplifies the code and avoids a double browse on the object in case of invalid RIB.

Constraint now declares all the fields that must trigger the check.

Updated French translation.

bzr revid: alexis@via.ecp.fr-20120127150103-2khrxo0j2wfrrffa
addons/base_iban/base_iban.py
addons/l10n_fr_rib/bank.py
addons/l10n_fr_rib/bank_data.xml
addons/l10n_fr_rib/bank_view.xml
addons/l10n_fr_rib/i18n/fr.po
addons/l10n_fr_rib/i18n/l10n_fr_rib.pot