Commit Graph

16 Commits

Author SHA1 Message Date
Antonin Bourguignon 8a64e7580a [IMP] all the error messages now start with 'Error\!' (not 'Error' or 'Error \!')
bzr revid: abo@openerp.com-20120807113137-44vehm0mthqawlo3
2012-08-07 13:31:37 +02:00
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 c646827762 [MERGE] with addons-trunk and resolve conflict in base_iban
<> changed to !=
Changed error message

bzr revid: alexis@via.ecp.fr-20120131133657-0gzkk0bcb709ca6f
2012-01-31 14:36:57 +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
Olivier Dony e3c680eb31 [FIX] l10n_fr_rib: typos in on_change_bank_id, `value` isa nested dict
bzr revid: odo@openerp.com-20111201145754-5j0m12q76lk6fn1w
2011-12-01 15:57:54 +01:00
Numerigraphe - Lionel Sausin 64c50d804c [IMP] remove print statement
bzr revid: ls@numerigraphe.fr-20111128160529-f7nz0d3n0vqber8h
2011-11-28 17:05:29 +01:00
Numerigraphe - Lionel Sausin a3229487ec [REF] l10n_fr_rib: refactored bank name_search as suggested by Olivier Dony (OpenERP)
[IMP] l10n_fr_rib: don't re-check error condition when constructing the message for key mismatch
[FIx] l10n_fr_rib: wrong field name for bank code

bzr revid: ls@numerigraphe.fr-20111128160001-q7re8fxr9lv2ad9g
2011-11-28 17:00:01 +01:00
Numerigraphe - Lionel Sausin 6710f39da0 [DEL] l10n_fr_rib: drop useless Bank Account search() overload
bzr revid: ls@numerigraphe.fr-20111128151016-0z48km039apfq3q5
2011-11-28 16:10:16 +01:00
Numerigraphe - Lionel Sausin 25f83943e1 [IMP] extensive module description
[IMP] assign (c) back to Numérigraphe

lp bug: https://launchpad.net/bugs/387958 fixed

bzr revid: ls@numerigraphe.fr-20111128144348-ccl8ays59rc2hvj2
2011-11-28 15:43:48 +01:00
Numerigraphe - Lionel Sausin ddb1ec724f [IMP] rewrote the translation tbale lookup without downgrading strings to latin-1
bzr revid: ls@numerigraphe.fr-20111121153539-a060b20nvvf6x2c7
2011-11-21 16:35:39 +01:00
Numerigraphe - Lionel Sausin c8152fd397 [IMP] remove debugging print statements
bzr revid: ls@numerigraphe.fr-20111121152047-k5bphj2egef8nfuu
2011-11-21 16:20:47 +01:00
Numerigraphe - Lionel Sausin 12795a5cc9 [ADD] l10n_fr_rib: let users enter French RIB bank accounts
lp bug: https://launchpad.net/bugs/387958 fixed

bzr revid: ls@numerigraphe.fr-20111121142005-k0vw2kbupwiy0s1q
2011-11-21 15:20:05 +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