product_harmonized_system_tax_rate
product_harmonized_system_tax_rate · OCA/intrastat-extrastat
Health
47/100
poor
-
Security25/25No findings
-
Activity12/25Last human commit 18 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
1 migration note
3 models
5 views
0 HTTP endpoints
Migration considerations
HSCodeTaxRate— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Import Tax Rates per { country, HS Code}
This module allows to set import taxes (import duties and/or tariffs) on countries of origin and HS codes.
The tax rate is also available on the product.
Current limitations:
- Only support Ad valorem type of import tax (rate is % of the value in currency)
- On product: one origin per product (see product_harmonized_system)
- On product: no support of destination country
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hs_code_tax_rate_view_search |
hs.code.tax.rate.search | hs.code.tax.rate | search | New |
hs_code_view_form |
hs.code.form | hs.code | form | Inherits product_harmonized_system.hs_code_view_form |
product_template_form_view |
product.template.form.inherited | product.template | form | Inherits product_harmonized_system.product_template_form_view |
view_hs_code_tax_rate_form |
hs.code.tax.rate.form | hs.code.tax.rate | form | New |
view_hs_code_tax_rate_list |
hs.code.tax.rate.list | hs.code.tax.rate | list | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
tax_rate_idsOne2many → hs.code.tax.ratecomodel_name='hs.code.tax.rate'inverse_name='hs_code_id'string='Tax Rates'
No public methods.
New fields (3)
-
hs_code_idMany2one → hs.codehelp='Harmonised System Code. Nomenclature is available from the World Customs Organisation, see http://www.wcoomd.org/.'ondelete='restrict'required=Truestring='H.S. Code' args: 'hs.code' -
origin_country_idMany2one → res.countryhelp="Country of origin of the product i.e. product 'made in ____'."required=Truestring='Country of Origin' args: 'res.country' -
tax_rateFloathelp='Tax rate percentage for this H.S. Code / Country of Origin.'required=Truestring='Tax Rate %'
No public methods.
New fields (3)
-
hs_code_tax_rateFloatrelated='hs_code_tax_rate_id.tax_rate' -
hs_code_tax_rate_idMany2one → hs.code.tax.ratecompute='_compute_hs_code_tax_rate_id'readonly=Truestore=Truestring='H.S. Code Tax Rate Id' args: 'hs.code.tax.rate' -
hs_code_tax_rate_strCharcompute='_compute_hs_code_tax_rate_str'string='H.S. Code Tax Rate'
No public methods.