Product Harmonized System Codes
product_harmonized_system · OCA/intrastat-extrastat
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 13 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Description
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.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hs_code_view_form |
hs.code.form | hs.code | form | New |
hs_code_view_search |
hs.code.search | hs.code | search | New |
hs_code_view_tree |
hs.code.list | hs.code | list | New |
product_category_form_view |
hs_code.product.category.form | product.category | form | Inherits product.product_category_form_view |
product_template_form_view |
hs_code.product.template.form | product.template | form | Inherits product.product_template_form_view |
product_template_search_view |
product.template | search | Inherits product.product_template_search_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
-
activeBooleandefault=True -
company_idMany2one → res.companydefault=<expr> args: 'res.company' -
descriptionCharhelp='Short text description of the H.S. Code'translate=True -
hs_codeCharcompute='_compute_hs_code'help='Harmonized System code (6 digits). Full list is available from the World Customs Organisation, see http://www.wcoomd.org'precompute=Truestore=Truestring='H.S. Code' -
local_codeCharhelp='Code used for the national Import/Export declaration. The national code starts with the 6 digits of the H.S. and often has a few additional digits to extend the H.S. code.'required=True -
long_descriptionTexthelp='Detailed text description of the H.S. Code. This can be, for example, the official description of this code as defined in the Harmonized System nomenclature.'string='Detailed Description'translate=True -
product_categ_countIntegercompute='_compute_product_categ_count' -
product_categ_idsOne2many → product.categorycomodel_name='product.category'inverse_name='hs_code_id'readonly=Truestring='Product Categories' -
product_tmpl_countIntegercompute='_compute_product_tmpl_count' -
product_tmpl_idsOne2many → product.templatecomodel_name='product.template'inverse_name='hs_code_id'readonly=Truestring='Products'
-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
-
hs_code_idMany2one → hs.codehelp='Harmonised System Code. If this code is not set on the product itself, it will be read here, on the related product category.'ondelete='restrict'string='H.S. Code' args: 'hs.code'
-
get_hs_code_recursively(self)
No new fields.
Public methods (1)-
get_hs_code_recursively(self)
-
hs_code_idMany2one → hs.codehelp='Harmonised System Code. Nomenclature is available from the World Customs Organisation, see http://www.wcoomd.org/. You can leave this field empty and configure the H.S. code on the product category.'ondelete='restrict'string='H.S. Code' args: 'hs.code' -
origin_country_idMany2one → res.countrycomodel_name='res.country'help="Country of origin of the product i.e. product 'made in ____'."string='Country of Origin'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…