[IMP] product_harmonized_system: pre-commit auto fixes

This commit is contained in:
Andreu Orensanz
2024-03-11 15:34:57 +01:00
parent 515b6e58d2
commit 02ab46672d
10 changed files with 97 additions and 42 deletions

View File

@@ -17,24 +17,33 @@ Product Harmonized System Codes
: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
:target: https://github.com/OCA/intrastat-extrastat/tree/17.0/product_harmonized_system
: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
:target: https://translation.odoo-community.org/projects/intrastat-extrastat-17-0/intrastat-extrastat-17-0-product_harmonized_system
: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|
This module contains the objects for Harmonised System Codes (H.S. codes). The full nomenclature is available from the `World Customs Organisation <http://www.wcoomd.org/>`. These codes are usually required on the Proforma invoices that are attached to the packages that are shipped abroad.
This module contains the objects for Harmonised System Codes (H.S.
codes). The full nomenclature is available from the World Customs
Organisation <http://www.wcoomd.org/>. These codes are usually required
on the Proforma invoices that are attached to the packages that are
shipped abroad.
This module also handles the local/national extensions to the H.S. codes. The import of the full nomenclature is not provided by this module; it should be provided by localization modules.
This module also handles the local/national extensions to the H.S.
codes. The import of the full nomenclature is not provided by this
module; it should be provided by localization modules.
You will also be able to configure the *country of origin* of a product, which is often required on the proforma invoice for the customs.
You will also be able to configure the *country of origin* of a product,
which is often required on the proforma invoice for the customs.
This module should be usefull for all companies that export physical goods abroad. This module is also used by the Intrastat modules for the European Union, cf the *intrastat_product* module.
This module should be usefull for all companies that export physical
goods abroad. This module is also used by the Intrastat modules for the
European Union, cf the *intrastat_product* module.
**Table of contents**
@@ -44,14 +53,22 @@ This module should be usefull for all companies that export physical goods abroa
Installation
============
This module is NOT compatible with the *account_intrastat* module from Odoo Enterprise.
This module is NOT compatible with the *account_intrastat* module from
Odoo Enterprise.
Usage
=====
As this module only depends on the *product* module and that module doesn't provide any menu entry, this module lacks a menu entry for H.S. Codes. A menu entry for H.S. codes is provided by the module *product_harmonized_system_stock*.
As this module only depends on the *product* module and that module
doesn't provide any menu entry, this module lacks a menu entry for H.S.
Codes. A menu entry for H.S. codes is provided by the module
*product_harmonized_system_stock*.
Once the H.S. codes are created, you will be able to set the H.S. code on a product (under the *Information* tab) or on a product category. On the product form, you will also be able to set the *Country of Origin* of a product (for example, if the product is *made in China*, select *China* as *Country of Origin*).
Once the H.S. codes are created, you will be able to set the H.S. code
on a product (under the *Information* tab) or on a product category. On
the product form, you will also be able to set the *Country of Origin*
of a product (for example, if the product is *made in China*, select
*China* as *Country of Origin*).
Bug Tracker
===========
@@ -59,7 +76,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/intrastat-extrastat/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 <https://github.com/OCA/intrastat-extrastat/issues/new?body=module:%20product_harmonized_system%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/intrastat-extrastat/issues/new?body=module:%20product_harmonized_system%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
@@ -67,21 +84,21 @@ Credits
=======
Authors
~~~~~~~
-------
* brain-tec AG
* Akretion
* Noviat
Contributors
~~~~~~~~~~~~
------------
* Alexis de Lattre, Akretion <alexis.delattre@akretion.com>
* Luc De Meyer, Noviat <info@noviat.com>
* Kumar Aberer, brain-tec AG <kumar.aberer@braintec-group.com>
- Alexis de Lattre, Akretion <alexis.delattre@akretion.com>
- Luc De Meyer, Noviat <info@noviat.com>
- Kumar Aberer, brain-tec AG <kumar.aberer@braintec-group.com>
Maintainers
~~~~~~~~~~~
-----------
This module is maintained by the OCA.
@@ -104,6 +121,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-alexis-via| |maintainer-luc-demeyer|
This module is part of the `OCA/intrastat-extrastat <https://github.com/OCA/intrastat-extrastat/tree/16.0/product_harmonized_system>`_ project on GitHub.
This module is part of the `OCA/intrastat-extrastat <https://github.com/OCA/intrastat-extrastat/tree/17.0/product_harmonized_system>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"

View File

@@ -0,0 +1,3 @@
- Alexis de Lattre, Akretion \<<alexis.delattre@akretion.com>\>
- Luc De Meyer, Noviat \<<info@noviat.com>\>
- Kumar Aberer, brain-tec AG \<<kumar.aberer@braintec-group.com>\>

View File

@@ -1,3 +0,0 @@
* Alexis de Lattre, Akretion <alexis.delattre@akretion.com>
* Luc De Meyer, Noviat <info@noviat.com>
* Kumar Aberer, brain-tec AG <kumar.aberer@braintec-group.com>

View File

@@ -0,0 +1,16 @@
This module contains the objects for Harmonised System Codes (H.S.
codes). The full nomenclature is available from the World Customs
Organisation \<http://www.wcoomd.org/\>. These codes are usually
required on the Proforma invoices that are attached to the packages that
are shipped abroad.
This module also handles the local/national extensions to the H.S.
codes. The import of the full nomenclature is not provided by this
module; it should be provided by localization modules.
You will also be able to configure the *country of origin* of a product,
which is often required on the proforma invoice for the customs.
This module should be usefull for all companies that export physical
goods abroad. This module is also used by the Intrastat modules for the
European Union, cf the *intrastat_product* module.

View File

@@ -1,7 +0,0 @@
This module contains the objects for Harmonised System Codes (H.S. codes). The full nomenclature is available from the `World Customs Organisation <http://www.wcoomd.org/>`. These codes are usually required on the Proforma invoices that are attached to the packages that are shipped abroad.
This module also handles the local/national extensions to the H.S. codes. The import of the full nomenclature is not provided by this module; it should be provided by localization modules.
You will also be able to configure the *country of origin* of a product, which is often required on the proforma invoice for the customs.
This module should be usefull for all companies that export physical goods abroad. This module is also used by the Intrastat modules for the European Union, cf the *intrastat_product* module.

View File

@@ -1 +1,2 @@
This module is NOT compatible with the *account_intrastat* module from Odoo Enterprise.
This module is NOT compatible with the *account_intrastat* module from
Odoo Enterprise.

View File

@@ -0,0 +1,10 @@
As this module only depends on the *product* module and that module
doesn't provide any menu entry, this module lacks a menu entry for H.S.
Codes. A menu entry for H.S. codes is provided by the module
*product_harmonized_system_stock*.
Once the H.S. codes are created, you will be able to set the H.S. code
on a product (under the *Information* tab) or on a product category. On
the product form, you will also be able to set the *Country of Origin*
of a product (for example, if the product is *made in China*, select
*China* as *Country of Origin*).

View File

@@ -1,3 +0,0 @@
As this module only depends on the *product* module and that module doesn't provide any menu entry, this module lacks a menu entry for H.S. Codes. A menu entry for H.S. codes is provided by the module *product_harmonized_system_stock*.
Once the H.S. codes are created, you will be able to set the H.S. code on a product (under the *Information* tab) or on a product category. On the product form, you will also be able to set the *Country of Origin* of a product (for example, if the product is *made in China*, select *China* as *Country of Origin*).

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
@@ -368,11 +369,20 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:afd00899a20aac3c96a9b21fbcfc0c4a66f1617290ff92124a6b6987e5d9c975
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/intrastat-extrastat/tree/16.0/product_harmonized_system"><img alt="OCA/intrastat-extrastat" src="https://img.shields.io/badge/github-OCA%2Fintrastat--extrastat-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-product_harmonized_system"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/intrastat-extrastat&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module contains the objects for Harmonised System Codes (H.S. codes). The full nomenclature is available from the <cite>World Customs Organisation &lt;http://www.wcoomd.org/&gt;</cite>. These codes are usually required on the Proforma invoices that are attached to the packages that are shipped abroad.</p>
<p>This module also handles the local/national extensions to the H.S. codes. The import of the full nomenclature is not provided by this module; it should be provided by localization modules.</p>
<p>You will also be able to configure the <em>country of origin</em> of a product, which is often required on the proforma invoice for the customs.</p>
<p>This module should be usefull for all companies that export physical goods abroad. This module is also used by the Intrastat modules for the European Union, cf the <em>intrastat_product</em> module.</p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/intrastat-extrastat/tree/17.0/product_harmonized_system"><img alt="OCA/intrastat-extrastat" src="https://img.shields.io/badge/github-OCA%2Fintrastat--extrastat-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/intrastat-extrastat-17-0/intrastat-extrastat-17-0-product_harmonized_system"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/intrastat-extrastat&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module contains the objects for Harmonised System Codes (H.S.
codes). The full nomenclature is available from the World Customs
Organisation &lt;<a class="reference external" href="http://www.wcoomd.org/">http://www.wcoomd.org/</a>&gt;. These codes are usually required
on the Proforma invoices that are attached to the packages that are
shipped abroad.</p>
<p>This module also handles the local/national extensions to the H.S.
codes. The import of the full nomenclature is not provided by this
module; it should be provided by localization modules.</p>
<p>You will also be able to configure the <em>country of origin</em> of a product,
which is often required on the proforma invoice for the customs.</p>
<p>This module should be usefull for all companies that export physical
goods abroad. This module is also used by the Intrastat modules for the
European Union, cf the <em>intrastat_product</em> module.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
@@ -389,19 +399,27 @@ ul.auto-toc {
</div>
<div class="section" id="installation">
<h1><a class="toc-backref" href="#toc-entry-1">Installation</a></h1>
<p>This module is NOT compatible with the <em>account_intrastat</em> module from Odoo Enterprise.</p>
<p>This module is NOT compatible with the <em>account_intrastat</em> module from
Odoo Enterprise.</p>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<p>As this module only depends on the <em>product</em> module and that module doesnt provide any menu entry, this module lacks a menu entry for H.S. Codes. A menu entry for H.S. codes is provided by the module <em>product_harmonized_system_stock</em>.</p>
<p>Once the H.S. codes are created, you will be able to set the H.S. code on a product (under the <em>Information</em> tab) or on a product category. On the product form, you will also be able to set the <em>Country of Origin</em> of a product (for example, if the product is <em>made in China</em>, select <em>China</em> as <em>Country of Origin</em>).</p>
<p>As this module only depends on the <em>product</em> module and that module
doesnt provide any menu entry, this module lacks a menu entry for H.S.
Codes. A menu entry for H.S. codes is provided by the module
<em>product_harmonized_system_stock</em>.</p>
<p>Once the H.S. codes are created, you will be able to set the H.S. code
on a product (under the <em>Information</em> tab) or on a product category. On
the product form, you will also be able to set the <em>Country of Origin</em>
of a product (for example, if the product is <em>made in China</em>, select
<em>China</em> as <em>Country of Origin</em>).</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/intrastat-extrastat/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/intrastat-extrastat/issues/new?body=module:%20product_harmonized_system%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/intrastat-extrastat/issues/new?body=module:%20product_harmonized_system%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
@@ -431,7 +449,7 @@ mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/alexis-via"><img alt="alexis-via" src="https://github.com/alexis-via.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/luc-demeyer"><img alt="luc-demeyer" src="https://github.com/luc-demeyer.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/intrastat-extrastat/tree/16.0/product_harmonized_system">OCA/intrastat-extrastat</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/intrastat-extrastat/tree/17.0/product_harmonized_system">OCA/intrastat-extrastat</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>