From 580cfea593be3bb163421f3a1e9024934cc8012a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Gonz=C3=A1lez?= Date: Sat, 8 Aug 2020 18:49:49 +0000 Subject: [PATCH] [REF] company_country: Deprecate module This module was intended to avoid a wrong chart of account to be installed by the account module's hook, but that has been fixed in Odoo v13: https://github.com/odoo/odoo/pull/52117 Because of that, a note was added on the README to mention this module is not required anymore and it shouldn't be migrated to v14. --- company_country/README.rst | 3 +++ company_country/__manifest__.py | 2 +- company_country/readme/DESCRIPTION.rst | 3 +++ company_country/static/description/index.html | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/company_country/README.rst b/company_country/README.rst index 5389cff24..6ad282d12 100644 --- a/company_country/README.rst +++ b/company_country/README.rst @@ -25,6 +25,9 @@ Company Country |badge1| |badge2| |badge3| |badge4| |badge5| +**Note:** This module is not required anymore for Odoo >= 13.0, thanks to +`this fix introduced in Odoo `_. + This module allows to set a country to the main company before the ``account`` module is installed, so the hook of that module installs the correct ``l10n_***`` module. diff --git a/company_country/__manifest__.py b/company_country/__manifest__.py index 16f54cf3b..2581673c8 100644 --- a/company_country/__manifest__.py +++ b/company_country/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Company Country", "summary": "Set country to main company", - "version": "13.0.1.0.2", + "version": "13.0.1.0.2", # Note: module shouldn't be migrated, see README "category": "base", "website": "https://github.com/OCA/server-tools/tree/13.0/company_country", "maintainers": ["moylop260", "luisg123v"], diff --git a/company_country/readme/DESCRIPTION.rst b/company_country/readme/DESCRIPTION.rst index 2f689b9a5..5ec52a1ae 100644 --- a/company_country/readme/DESCRIPTION.rst +++ b/company_country/readme/DESCRIPTION.rst @@ -1,3 +1,6 @@ +**Note:** This module is not required anymore for Odoo >= 13.0, thanks to +`this fix introduced in Odoo `_. + This module allows to set a country to the main company before the ``account`` module is installed, so the hook of that module installs the correct ``l10n_***`` module. diff --git a/company_country/static/description/index.html b/company_country/static/description/index.html index 4c6a7504e..5866d864d 100644 --- a/company_country/static/description/index.html +++ b/company_country/static/description/index.html @@ -368,6 +368,8 @@ ul.auto-toc { !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/server-tools Translate me on Weblate Try me on Runbot

+

Note: This module is not required anymore for Odoo >= 13.0, thanks to +this fix introduced in Odoo.

This module allows to set a country to the main company before the account module is installed, so the hook of that module installs the correct l10n_*** module.