From 4e329d6c77397126d5b09c7d513a47dc4d0b0305 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/__manifest__.py | 2 +- account_banking_pain_base/models/account_payment_order.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/account_banking_pain_base/__manifest__.py b/account_banking_pain_base/__manifest__.py index 48152ff72..a5e7d6a05 100644 --- a/account_banking_pain_base/__manifest__.py +++ b/account_banking_pain_base/__manifest__.py @@ -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", 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",