mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] IBAN validation for Italian bank accounts is wrong and is preventing valid accounts from being added. Validation removed for Italian accounts. Need to find a long-term solution to IBAN validation as the current code is rejecting valid numbers for a number of countries.
This commit is contained in:
@@ -219,7 +219,7 @@ class IBAN(str):
|
||||
# Iceland uses an extra identification number, split in two on
|
||||
# display. Coded here as %P%V.
|
||||
'IS': BBANFormat('CCCCTTAAAAAAPPPPPPVVVV', '%C-%T-%A-%P-%V'),
|
||||
'IT': BBANFormat('WBBBBBCCCCCCAAAAAAAAAAAAV', '%W/%B/%C/%A%V'),
|
||||
#'IT': BBANFormat('WBBBBBCCCCCCAAAAAAAAAAAAV', '%W/%B/%C/%A%V'),
|
||||
'LV': BBANFormat('BBBBAAAAAAAAAAAAA', '%I'),
|
||||
'LI': BBANFormat('CCCCCAAAAAAAAAAAA', '%C %A', nolz=True),
|
||||
'LT': BBANFormat('BBBBBAAAAAAAAAAA', '%I'),
|
||||
|
||||
Reference in New Issue
Block a user