product_harmonized_system_tax_rate

product_harmonized_system_tax_rate
REPOSITORY
REPOSITORYOCA/intrastat-extrastat
GIT
GIThttps://github.com/OCA/intrastat-extrastat.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/intrastat-extrastat/tree/18.0/product_harmonized_system_tax_rate
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, hparfr, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/intrastat-extrastat
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/intrastat-extrastat:
    - product_harmonized_system_stock
    - product_harmonized_system
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
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 group Inherits product_harmonized_system.hs_code_view_form
product_template_form_view product.template.form.inherited product.template field 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
Models touched (3)

New fields (1)
  • tax_rate_ids One2many → hs.code.tax.rate
    comodel_name='hs.code.tax.rate' inverse_name='hs_code_id' string='Tax Rates'
Public methods (0)

No public methods.

New fields (3)
  • hs_code_id Many2one → hs.code
    help='Harmonised System Code. Nomenclature is available from the World Customs Organisation, see http://www.wcoomd.org/.' ondelete='restrict' required=True string='H.S. Code' args: 'hs.code'
  • origin_country_id Many2one → res.country
    help="Country of origin of the product i.e. product 'made in ____'." required=True string='Country of Origin' args: 'res.country'
  • tax_rate Float
    help='Tax rate percentage for this H.S. Code / Country of Origin.' required=True string='Tax Rate %'
Public methods (0)

No public methods.

New fields (3)
  • hs_code_tax_rate Float
    related='hs_code_tax_rate_id.tax_rate'
  • hs_code_tax_rate_id Many2one → hs.code.tax.rate
    compute='_compute_hs_code_tax_rate_id' readonly=True store=True string='H.S. Code Tax Rate Id' args: 'hs.code.tax.rate'
  • hs_code_tax_rate_str Char
    compute='_compute_hs_code_tax_rate_str' string='H.S. Code Tax Rate'
Public methods (0)

No public methods.