[FIX] base_iban: The bank number is not validated correctly for Costa

Rica

- The format correspond to the standard following the format:
https://en.wikipedia.org/wiki/International_Bank_Account_Number#IBAN_formats_by_country

- It does not allows you to save account numbers that do not meet the standard

closes odoo/odoo#69711

X-original-commit: a8876bff941c1b3bb6a313dfb4e5a026d725a97e
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
This commit is contained in:
Deivis Laya
2021-04-22 15:27:10 +00:00
parent 6ce790612c
commit d503cdcd65
+1 -1
View File
@@ -115,7 +115,7 @@ _map_iban_template = {
'br': 'BRkk BBBB BBBB SSSS SCCC CCCC CCCT N', # Brazil
'by': 'BYkk BBBB AAAA CCCC CCCC CCCC CCCC', # Belarus
'ch': 'CHkk BBBB BCCC CCCC CCCC C', # Switzerland
'cr': 'CRkk BBBC CCCC CCCC CCCC C', # Costa Rica
'cr': 'CRkk BBBC CCCC CCCC CCCC CC', # Costa Rica
'cy': 'CYkk BBBS SSSS CCCC CCCC CCCC CCCC', # Cyprus
'cz': 'CZkk BBBB SSSS SSCC CCCC CCCC', # Czech Republic
'de': 'DEkk BBBB BBBB CCCC CCCC CC', # Germany