diff --git a/l10n_eu_oss_oca/README.rst b/l10n_eu_oss_oca/README.rst
index d33aef5b5..343424c19 100644
--- a/l10n_eu_oss_oca/README.rst
+++ b/l10n_eu_oss_oca/README.rst
@@ -14,16 +14,16 @@ L10n EU OSS OCA
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--fiscal--rule-lightgray.png?logo=github
- :target: https://github.com/OCA/account-fiscal-rule/tree/15.0/l10n_eu_oss_oca
+ :target: https://github.com/OCA/account-fiscal-rule/tree/16.0/l10n_eu_oss_oca
:alt: OCA/account-fiscal-rule
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-fiscal-rule-15-0/account-fiscal-rule-15-0-l10n_eu_oss_oca
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
- :target: https://runbot.odoo-community.org/runbot/93/15.0
+ :target: https://runbot.odoo-community.org/runbot/93/16.0
:alt: Try me on Runbot
-|badge1| |badge2| |badge3| |badge4| |badge5|
+|badge1| |badge2| |badge3| |badge4| |badge5|
This module has been created to help with the tax mapping according to the EU One-Stop-Shop law, that concerns many companies that carry out distance sales.
@@ -87,7 +87,7 @@ 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 smashing it by providing a detailed and welcomed
-`feedback `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -111,6 +111,10 @@ Contributors
* Pedro M. Baeza
+* `Factor Libre `_:
+
+ * Luis J. Salvatierra
+
Maintainers
~~~~~~~~~~~
@@ -124,6 +128,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
-This module is part of the `OCA/account-fiscal-rule `_ project on GitHub.
+This module is part of the `OCA/account-fiscal-rule `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/l10n_eu_oss_oca/__manifest__.py b/l10n_eu_oss_oca/__manifest__.py
index 1e46546d1..153ba954f 100644
--- a/l10n_eu_oss_oca/__manifest__.py
+++ b/l10n_eu_oss_oca/__manifest__.py
@@ -3,7 +3,7 @@
{
"name": "L10n EU OSS OCA",
- "version": "15.0.2.1.1",
+ "version": "16.0.1.0.0",
"category": "Accounting & Finance",
"website": "https://github.com/OCA/account-fiscal-rule",
"author": "Sygel Technology," "Odoo Community Association (OCA)",
diff --git a/l10n_eu_oss_oca/i18n/l10n_eu_oss.pot b/l10n_eu_oss_oca/i18n/l10n_eu_oss.pot
index 914b1e7fe..45a75763d 100644
--- a/l10n_eu_oss_oca/i18n/l10n_eu_oss.pot
+++ b/l10n_eu_oss_oca/i18n/l10n_eu_oss.pot
@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 15.0\n"
+"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
diff --git a/l10n_eu_oss_oca/i18n/l10n_eu_oss_oca.pot b/l10n_eu_oss_oca/i18n/l10n_eu_oss_oca.pot
index 6488d3bbb..ef41c67df 100644
--- a/l10n_eu_oss_oca/i18n/l10n_eu_oss_oca.pot
+++ b/l10n_eu_oss_oca/i18n/l10n_eu_oss_oca.pot
@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 15.0\n"
+"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
diff --git a/l10n_eu_oss_oca/migrations/15.0.2.1.0/post-migration.py b/l10n_eu_oss_oca/migrations/15.0.2.1.0/post-migration.py
deleted file mode 100644
index 09670e133..000000000
--- a/l10n_eu_oss_oca/migrations/15.0.2.1.0/post-migration.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 2021 Sygel - Manuel Regidor
-# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-
-from openupgradelib import openupgrade # pylint: disable=W7936
-
-
-@openupgrade.migrate()
-def migrate(env, version):
- openupgrade.logged_query(
- env.cr,
- """
- UPDATE account_fiscal_position afp
- SET oss_oca = True
- WHERE afp.country_id IS NOT NULL AND
- afp.vat_required IS False AND
- afp.auto_apply IS True AND
- afp.fiscal_position_type = 'b2c'
- """,
- )
diff --git a/l10n_eu_oss_oca/readme/CONTRIBUTORS.rst b/l10n_eu_oss_oca/readme/CONTRIBUTORS.rst
index 6c2153127..fad43afcf 100644
--- a/l10n_eu_oss_oca/readme/CONTRIBUTORS.rst
+++ b/l10n_eu_oss_oca/readme/CONTRIBUTORS.rst
@@ -6,3 +6,7 @@
* `Tecnativa `_:
* Pedro M. Baeza
+
+* `Factor Libre `_:
+
+ * Luis J. Salvatierra
diff --git a/l10n_eu_oss_oca/static/description/index.html b/l10n_eu_oss_oca/static/description/index.html
index 825f57f15..519a148c7 100644
--- a/l10n_eu_oss_oca/static/description/index.html
+++ b/l10n_eu_oss_oca/static/description/index.html
@@ -367,7 +367,7 @@ L10n EU OSS OCA
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
This module has been created to help with the tax mapping according to the EU One-Stop-Shop law, that concerns many companies that carry out distance sales.
EU taxes have been checked in <https://ec.europa.eu/taxation_customs/tedb/vatSearchForm.html>
Table of contents
@@ -435,7 +435,7 @@
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 smashing it by providing a detailed and welcomed
-feedback.
+feedback.
Do not contact contributors directly about support or help with technical issues.
diff --git a/l10n_eu_oss_oca/tests/test_l10n_eu_oss.py b/l10n_eu_oss_oca/tests/test_l10n_eu_oss.py
index ed6eaaf0a..a824e1407 100644
--- a/l10n_eu_oss_oca/tests/test_l10n_eu_oss.py
+++ b/l10n_eu_oss_oca/tests/test_l10n_eu_oss.py
@@ -126,8 +126,8 @@ def test_02(self):
partner = self.env["res.partner"].create(
{"name": "Customer", "country_id": self.country_fr.id}
)
- fiscal_position_id = self.env["account.fiscal.position"].get_fiscal_position(
- partner.id
+ fiscal_position_id = self.env["account.fiscal.position"]._get_fiscal_position(
+ partner
)
move = self.env["account.move"].create(
[
diff --git a/l10n_eu_oss_oca/wizard/l10n_eu_oss_wizard.xml b/l10n_eu_oss_oca/wizard/l10n_eu_oss_wizard.xml
index ccbc51e77..d942d2842 100644
--- a/l10n_eu_oss_oca/wizard/l10n_eu_oss_wizard.xml
+++ b/l10n_eu_oss_oca/wizard/l10n_eu_oss_wizard.xml
@@ -10,6 +10,7 @@