From f43db37da095a275237de7619632948110e9f9e1 Mon Sep 17 00:00:00 2001 From: Marc Tormo i Bochaca Date: Tue, 31 Jan 2023 21:56:41 +0100 Subject: [PATCH] Update account_payment_order.py 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 1d4e0c9c9..d82a89c3f 100644 --- a/account_banking_pain_base/models/account_payment_order.py +++ b/account_banking_pain_base/models/account_payment_order.py @@ -61,10 +61,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",