[15.0] [FIX] account_payment_order: Update list of IBAN codes.

Update list of IBAN codes. Added Austria (AT) and Andorra (AD)
This commit is contained in:
BT-anieto
2023-03-15 10:38:18 +01:00
committed by Pedro M. Baeza
parent 793610c7f4
commit 4e329d6c77
2 changed files with 4 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
{
"name": "Account Banking PAIN Base Module",
"summary": "Base module for PAIN file generation",
"version": "15.0.2.0.0",
"version": "15.0.2.0.1",
"license": "AGPL-3",
"author": "Akretion, Noviat, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/bank-payment",

View File

@@ -59,10 +59,12 @@ class AccountPaymentOrder(models.Model):
@api.model
def _sepa_iban_prefix_list(self):
# List of IBAN prefixes (not country codes !)
# Source: https://www.europeanpaymentscouncil.eu/sites/default/files/kb/file/2020-10/EPC409-09%20EPC%20List%20of%20SEPA%20Scheme%20Countries%20v3.0_1.pdf # noqa: B950
# Source: https://www.europeanpaymentscouncil.eu/sites/default/files/kb/file/2023-01/EPC409-09%20EPC%20List%20of%20SEPA%20Scheme%20Countries%20v4.0_0.pdf # noqa: B950
# Some countries use IBAN but are not part of the SEPA zone
# example: Turkey, Madagascar, Tunisia, etc.
return [
"AD",
"AT",
"BE",
"BG",
"ES",