Commit Graph

6 Commits

Author SHA1 Message Date
Sanjay Gohel (Open ERP) 1702b2335d [IMP]remove tabs and add spaces instead of them
bzr revid: sgo@tinyerp.com-20120628064005-zuerrpazumf5lf1q
2012-06-28 12:10:05 +05:30
Alexis de Lattre e29721f872 Add a RIB-specific 'format_layout' on the res.partner.bank.type
bzr revid: alexis@via.ecp.fr-20120130154328-jljngocsy14t0zi3
2012-01-30 16:43:28 +01:00
Alexis de Lattre 9cf1cca384 base_iban/base_iban.py : extracted IBAN check functionnality in a dedicated function, so that it can be used by other modules.
l10n_fr_rib :
- add dependancy on base_iban
- we now have a single res.partner.bank.type with required RIB and optional IBAN
- adapted code and translations accordingly
- 'acc_number' field should not trigger _check_key function ; it already triggers the check_iban function.

bzr revid: alexis@via.ecp.fr-20120127184931-wudv91s96znzwjae
2012-01-27 19:49:31 +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 068650b67a [IMP] renamed base_rib to l10n_fr_rib
bzr revid: ls@numerigraphe.fr-20111121133145-gfmm5y7arl2tx9ix
2011-11-21 14:31:45 +01:00