Repository
OCA/intrastat-extrastat · module folder · Try on Runboat
Module version
1.0.0
Category
Reporting
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/intrastat-extrastat
Last tracking update
2026-08-07 09:06:36
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Weblate, Ruchir Shukla, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
The OCA module *product_harmonized_system* adds a many2one field
*hs_code_id* on product templates that points to an *H.S. Code* object.
But the *stock_delivery* module from the official addons adds a char field
*hs_code* on product templates, which has the same purpose, but we can't
use it because we need structured data for H.S. codes. This module hides
the *hs_code* field added by the *stock_delivery* module, to avoid confusion.

Since Odoo v16, the *stock_delivery* module also adds a many2one field
*country_of_origin*, which is similar to the many2one field
*origin_country_id* of the OCA module *product_harmonized_system*. This
module also hides the *country_of_origin* field added by the *stock_delivery*
module.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
product_template_hs_code hide_native_hs_code_field.product.template.form product.template form Inherits stock_delivery.product_template_hs_code
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (2)
  • country_of_origin Many2one
    related='origin_country_id' store=True
  • hs_code Char
    related='hs_code_id.hs_code' store=True
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…