TIP: You can type at any time to perform a new search.
Product Harmonized System Codes
product_harmonized_system · OCA/intrastat-extrastat
- Repository
- OCA/intrastat-extrastat · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Reporting
- Folder size
- 0.1 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/intrastat-extrastat
- Last tracking update
- 2026-08-07 09:06:36
- Authors
- Noviat, Akretion, Odoo Community Association (OCA), brain-tec AG
- Maintainers
- Noviat, Akretion, Odoo Community Association (OCA), brain-tec AG
- Committers
- Weblate, OCA-git-bot, oca-ci, alvaroGC-S73
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- intrastat_product, product_harmonized_system_delivery, product_harmonized_system_stock
- 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.
Code Analysis ⓘ
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)
New fields (10)
-
activeBooleandefault=True -
company_idMany2one → res.companydefault=<expr>string='Company' 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)
New fields (1)
-
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)
New fields (0)
No new fields.
Public methods (1)-
get_hs_code_recursively(self)
New fields (2)
-
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…