From 2e6421276aac9a43ee31684aabb5c4765f500d84 Mon Sep 17 00:00:00 2001 From: BT-anieto Date: Wed, 15 Mar 2023 10:38:18 +0100 Subject: [PATCH] [15.0] [FIX] account_payment_order: Update list of IBAN codes. Update list of IBAN codes. Added Austria (AT) and Andorra (AD) --- account_banking_pain_base/models/account_payment_order.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/account_banking_pain_base/models/account_payment_order.py b/account_banking_pain_base/models/account_payment_order.py index 753db771d..fb9cd91d0 100644 --- a/account_banking_pain_base/models/account_payment_order.py +++ b/account_banking_pain_base/models/account_payment_order.py @@ -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",