From b39b840c7a4be99a16bf2aefc87fc7f8177b0add Mon Sep 17 00:00:00 2001 From: Andreu Orensanz Date: Fri, 15 Mar 2024 11:48:12 +0100 Subject: [PATCH] [IMP] product_harmonized_system_delivery: pre-commit auto fixes --- product_harmonized_system_delivery/README.rst | 33 ++++++++++++------- .../pyproject.toml | 3 ++ .../readme/CONTRIBUTORS.md | 2 ++ .../readme/CONTRIBUTORS.rst | 2 -- .../readme/DESCRIPTION.md | 12 +++++++ .../readme/DESCRIPTION.rst | 3 -- .../static/description/index.html | 19 ++++++++--- 7 files changed, 52 insertions(+), 22 deletions(-) create mode 100644 product_harmonized_system_delivery/pyproject.toml create mode 100644 product_harmonized_system_delivery/readme/CONTRIBUTORS.md delete mode 100644 product_harmonized_system_delivery/readme/CONTRIBUTORS.rst create mode 100644 product_harmonized_system_delivery/readme/DESCRIPTION.md delete mode 100644 product_harmonized_system_delivery/readme/DESCRIPTION.rst diff --git a/product_harmonized_system_delivery/README.rst b/product_harmonized_system_delivery/README.rst index 2acda49..d46f79e 100644 --- a/product_harmonized_system_delivery/README.rst +++ b/product_harmonized_system_delivery/README.rst @@ -17,20 +17,29 @@ Product Harmonized System Codes - Delivery :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fintrastat--extrastat-lightgray.png?logo=github - :target: https://github.com/OCA/intrastat-extrastat/tree/16.0/product_harmonized_system_delivery + :target: https://github.com/OCA/intrastat-extrastat/tree/17.0/product_harmonized_system_delivery :alt: OCA/intrastat-extrastat .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-product_harmonized_system_delivery + :target: https://translation.odoo-community.org/projects/intrastat-extrastat-17-0/intrastat-extrastat-17-0-product_harmonized_system_delivery :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/intrastat-extrastat&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/intrastat-extrastat&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -The OCA module *product_harmonized_system* adds a many2one field *hs_code_id* on product templates that points to an *H.S. Code* object. But the *delivery* module from the official addons adds a char field *hs_code* on product templates, which has the same purpose, but we can't use it because we need structured data for H.S. codes. This module hides the *hs_code* field added by the *delivery* module, to avoid confusion. +The OCA module *product_harmonized_system* adds a many2one field +*hs_code_id* on product templates that points to an *H.S. Code* object. +But the *delivery* module from the official addons adds a char field +*hs_code* on product templates, which has the same purpose, but we can't +use it because we need structured data for H.S. codes. This module hides +the *hs_code* field added by the *delivery* module, to avoid confusion. -Since Odoo v16, the *delivery* module also adds a many2one field *country_of_origin*, which is similar to the many2one field *origin_country_id* of the OCA module *product_harmonized_system*. This module also hides the *country_of_origin* field added by the *delivery* module. +Since Odoo v16, the *delivery* module also adds a many2one field +*country_of_origin*, which is similar to the many2one field +*origin_country_id* of the OCA module *product_harmonized_system*. This +module also hides the *country_of_origin* field added by the *delivery* +module. **Table of contents** @@ -43,7 +52,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 to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -51,18 +60,18 @@ Credits ======= Authors -~~~~~~~ +------- * Akretion Contributors -~~~~~~~~~~~~ +------------ -* Alexis de Lattre -* Guewen Baconnier +- Alexis de Lattre +- Guewen Baconnier Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -85,6 +94,6 @@ Current `maintainers `__: |maintainer-alexis-via| |maintainer-luc-demeyer| -This module is part of the `OCA/intrastat-extrastat `_ project on GitHub. +This module is part of the `OCA/intrastat-extrastat `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/product_harmonized_system_delivery/pyproject.toml b/product_harmonized_system_delivery/pyproject.toml new file mode 100644 index 0000000..4231d0c --- /dev/null +++ b/product_harmonized_system_delivery/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/product_harmonized_system_delivery/readme/CONTRIBUTORS.md b/product_harmonized_system_delivery/readme/CONTRIBUTORS.md new file mode 100644 index 0000000..654c39f --- /dev/null +++ b/product_harmonized_system_delivery/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- Alexis de Lattre \<\> +- Guewen Baconnier \<\> diff --git a/product_harmonized_system_delivery/readme/CONTRIBUTORS.rst b/product_harmonized_system_delivery/readme/CONTRIBUTORS.rst deleted file mode 100644 index 4384162..0000000 --- a/product_harmonized_system_delivery/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,2 +0,0 @@ -* Alexis de Lattre -* Guewen Baconnier diff --git a/product_harmonized_system_delivery/readme/DESCRIPTION.md b/product_harmonized_system_delivery/readme/DESCRIPTION.md new file mode 100644 index 0000000..56f170b --- /dev/null +++ b/product_harmonized_system_delivery/readme/DESCRIPTION.md @@ -0,0 +1,12 @@ +The OCA module *product_harmonized_system* adds a many2one field +*hs_code_id* on product templates that points to an *H.S. Code* object. +But the *delivery* module from the official addons adds a char field +*hs_code* on product templates, which has the same purpose, but we can't +use it because we need structured data for H.S. codes. This module hides +the *hs_code* field added by the *delivery* module, to avoid confusion. + +Since Odoo v16, the *delivery* module also adds a many2one field +*country_of_origin*, which is similar to the many2one field +*origin_country_id* of the OCA module *product_harmonized_system*. This +module also hides the *country_of_origin* field added by the *delivery* +module. diff --git a/product_harmonized_system_delivery/readme/DESCRIPTION.rst b/product_harmonized_system_delivery/readme/DESCRIPTION.rst deleted file mode 100644 index 83b0a72..0000000 --- a/product_harmonized_system_delivery/readme/DESCRIPTION.rst +++ /dev/null @@ -1,3 +0,0 @@ -The OCA module *product_harmonized_system* adds a many2one field *hs_code_id* on product templates that points to an *H.S. Code* object. But the *delivery* module from the official addons adds a char field *hs_code* on product templates, which has the same purpose, but we can't use it because we need structured data for H.S. codes. This module hides the *hs_code* field added by the *delivery* module, to avoid confusion. - -Since Odoo v16, the *delivery* module also adds a many2one field *country_of_origin*, which is similar to the many2one field *origin_country_id* of the OCA module *product_harmonized_system*. This module also hides the *country_of_origin* field added by the *delivery* module. diff --git a/product_harmonized_system_delivery/static/description/index.html b/product_harmonized_system_delivery/static/description/index.html index 3995e36..f98e6c3 100644 --- a/product_harmonized_system_delivery/static/description/index.html +++ b/product_harmonized_system_delivery/static/description/index.html @@ -369,9 +369,18 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:f732fa747f85d891f007e5fb0af1290c25ceeeaca0c6e7cc6a3140c8c3ae9127 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/intrastat-extrastat Translate me on Weblate Try me on Runboat

-

The OCA module product_harmonized_system adds a many2one field hs_code_id on product templates that points to an H.S. Code object. But the delivery module from the official addons adds a char field hs_code on product templates, which has the same purpose, but we can’t use it because we need structured data for H.S. codes. This module hides the hs_code field added by the delivery module, to avoid confusion.

-

Since Odoo v16, the delivery module also adds a many2one field country_of_origin, which is similar to the many2one field origin_country_id of the OCA module product_harmonized_system. This module also hides the country_of_origin field added by the delivery module.

+

Beta License: AGPL-3 OCA/intrastat-extrastat Translate me on Weblate Try me on Runboat

+

The OCA module product_harmonized_system adds a many2one field +hs_code_id on product templates that points to an H.S. Code object. +But the delivery module from the official addons adds a char field +hs_code on product templates, which has the same purpose, but we can’t +use it because we need structured data for H.S. codes. This module hides +the hs_code field added by the delivery module, to avoid confusion.

+

Since Odoo v16, the delivery module also adds a many2one field +country_of_origin, which is similar to the many2one field +origin_country_id of the OCA module product_harmonized_system. This +module also hides the country_of_origin field added by the delivery +module.

Table of contents

    @@ -389,7 +398,7 @@ ul.auto-toc {

    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 -feedback.

    +feedback.

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

@@ -416,7 +425,7 @@ mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

alexis-via luc-demeyer

-

This module is part of the OCA/intrastat-extrastat project on GitHub.

+

This module is part of the OCA/intrastat-extrastat project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.