diff --git a/README.md b/README.md index 3c0fb2d21..363709a60 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ addon | version | maintainers | summary --- | --- | --- | --- [account_payment_unece](account_payment_unece/) | 16.0.1.0.0 | alexis-via | UNECE nomenclature for the payment methods [account_tax_unece](account_tax_unece/) | 16.0.1.3.0 | alexis-via | UNECE nomenclature for taxes -[base_bank_from_iban](base_bank_from_iban/) | 16.0.2.0.3 | | Bank from IBAN +[base_bank_from_iban](base_bank_from_iban/) | 16.0.2.0.4 | | Bank from IBAN [base_currency_iso_4217](base_currency_iso_4217/) | 16.0.1.0.0 | | Adds numeric code and full name to currencies, following the ISO 4217 specification [base_iso3166](base_iso3166/) | 16.0.1.0.1 | | ISO 3166 [base_unece](base_unece/) | 16.0.1.1.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 4e74c7af7..f5d4f4799 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:51e1afe9f6d074ce32f362a2e85ab94178cc64f169b5f33b2273f35369c870de + !! source digest: sha256:1c6b376e0004804441ab3d905c41c6bbe20a534c11f45d7d4724af768aa6b944 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |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 a46e60338..43d7c1db3 100644 --- a/base_bank_from_iban/__manifest__.py +++ b/base_bank_from_iban/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Bank from IBAN", - "version": "16.0.2.0.3", + "version": "16.0.2.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 dd41dc896..b47041fff 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 (https://github.com/odoo/odoo/blob/f5ffcf7feec5526a483f8ddd240648c084351008/addons/base_iban/models/res_partner_bank.py#L105-L175), @@ -390,7 +395,7 @@

Bank from IBAN

-

Configuration

+

Configuration

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

    Configuration

-

Usage

+

Usage

To use this module, you need to:

  1. Go to Partner
  2. @@ -409,7 +414,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 @@ -417,15 +422,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 @@ -452,5 +457,6 @@

Maintainers

+