diff --git a/README.md b/README.md index 69e9def50..7f8772c26 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ addon | version | maintainers | summary --- | --- | --- | --- [account_payment_unece](account_payment_unece/) | 17.0.1.0.0 | alexis-via | UNECE nomenclature for the payment methods [account_tax_unece](account_tax_unece/) | 17.0.1.0.0 | alexis-via | UNECE nomenclature for taxes -[base_bank_from_iban](base_bank_from_iban/) | 17.0.1.0.3 | | Bank from IBAN +[base_bank_from_iban](base_bank_from_iban/) | 17.0.1.0.4 | | Bank from IBAN [base_currency_iso_4217](base_currency_iso_4217/) | 17.0.1.0.0 | | Adds numeric code and full name to currencies, following the ISO 4217 specification [base_iso3166](base_iso3166/) | 17.0.1.0.1 | | ISO 3166 [base_unece](base_unece/) | 17.0.1.0.0 | astirpe alexis-via | Base module for UNECE code lists diff --git a/base_bank_from_iban/README.rst b/base_bank_from_iban/README.rst index fd3c792b7..465bff78f 100644 --- a/base_bank_from_iban/README.rst +++ b/base_bank_from_iban/README.rst @@ -1,3 +1,7 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + ============== Bank from IBAN ============== @@ -7,13 +11,13 @@ Bank from IBAN !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:9b22f13710769b004c79515fea18e9b8cc52918ec12011bd4d282f76eebaf8a4 + !! source digest: sha256:530cbd9579bea1634af7913b60146be192d12e30e95552ecc634e6cb0dc70fc4 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png :target: https://odoo-community.org/page/development-status :alt: Mature -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcommunity--data--files-lightgray.png?logo=github diff --git a/base_bank_from_iban/__manifest__.py b/base_bank_from_iban/__manifest__.py index d19a0b8f0..f353488af 100644 --- a/base_bank_from_iban/__manifest__.py +++ b/base_bank_from_iban/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Bank from IBAN", - "version": "17.0.1.0.3", + "version": "17.0.1.0.4", "author": "Tecnativa, Odoo Community Association (OCA)", "website": "https://github.com/OCA/community-data-files", "category": "Localization", diff --git a/base_bank_from_iban/models/res_partner_bank.py b/base_bank_from_iban/models/res_partner_bank.py index f13d94bed..a273b1da9 100644 --- a/base_bank_from_iban/models/res_partner_bank.py +++ b/base_bank_from_iban/models/res_partner_bank.py @@ -56,7 +56,10 @@ def _get_bank_from_iban(self, acc_number): bank = self.env["res.bank"].create(vals) else: bank = self.env["res.bank"] - except schwifty.exceptions.InvalidStructure: + except ( + schwifty.exceptions.InvalidStructure, + schwifty.exceptions.InvalidChecksumDigits, + ): bank = self.env["res.bank"] return bank diff --git a/base_bank_from_iban/static/description/index.html b/base_bank_from_iban/static/description/index.html index b6fc6c08a..2482e0bd0 100644 --- a/base_bank_from_iban/static/description/index.html +++ b/base_bank_from_iban/static/description/index.html @@ -3,7 +3,7 @@ -Bank from IBAN +README.rst -
-

Bank from IBAN

+
+ + +Odoo Community Association + +
+

Bank from IBAN

-

Mature License: AGPL-3 OCA/community-data-files Translate me on Weblate Try me on Runboat

+

Mature License: AGPL-3 OCA/community-data-files Translate me on Weblate Try me on Runboat

This module adds a code to bank definition for using it as matching for filling the bank from the IBAN bank account number. It uses the existing by country bank mapping in standard Odoo @@ -391,7 +396,7 @@

Bank from IBAN

-

Configuration

+

Configuration

  1. Go to Contacts > Configuration > Bank Accounts > Banks.
  2. Create or modify a bank.
  3. @@ -399,7 +404,7 @@

    Configuration

-

Usage

+

Usage

To use this module, you need to:

  1. Go to Partner
  2. @@ -412,7 +417,7 @@

    Usage

-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -420,15 +425,15 @@

Bug Tracker

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

  • Tecnativa
-

Contributors

+

Contributors

-

Maintainers

+

Maintainers

This module is maintained by the OCA.

Odoo Community Association @@ -459,5 +464,6 @@

Maintainers

+