Commit Graph

5 Commits

Author SHA1 Message Date
Raphael Collet c0534b0100 [MERGE] l10n_fr_rib: improve check of RIB and IBAN (contrib from Akretion)
bzr revid: rco@openerp.com-20120201110507-ztz2ss626svv2jl6
2012-02-01 12:05:07 +01:00
Alexis de Lattre 31c2873468 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
2012-01-27 16:01:03 +01:00
Numerigraphe - Lionel Sausin 35abfd730b [FIX] Ported base_rib to current trunk (future 6.1)
bzr revid: ls@numerigraphe.fr-20111121134545-j398sfjqno7yqyhl
2011-11-21 14:45:45 +01:00
Numerigraphe - Lionel Sausin 05afd356a2 [IMP] code cleanup in l10n_fr_rib
bzr revid: ls@numerigraphe.fr-20111121134410-7l1qq9q11o2w55ty
2011-11-21 14:44:10 +01:00
Numerigraphe - Lionel Sausin 068650b67a [IMP] renamed base_rib to l10n_fr_rib
bzr revid: ls@numerigraphe.fr-20111121133145-gfmm5y7arl2tx9ix
2011-11-21 14:31:45 +01:00