mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
Before the change, the field was not being updated after the value of the H.S. Code was changed on a Product Template. The related stored field was not working fine with the company dependent field. As the `hs_code_id` field is company dependent, we can have the `hs_code` on the product.template as a computed non-stored to be computed based on the `force_company` value of the context, just as in the company_dependent fields.
16 lines
540 B
Python
16 lines
540 B
Python
# Copyright 2017 Camptocamp SA
|
|
# Copyright 2023 ForgeFlow <http://www.forgeflow.com>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
{
|
|
"name": "HS Code Link",
|
|
"version": "13.0.1.0.1",
|
|
"depends": ["product_harmonized_system", "delivery"],
|
|
"author": "Camptocamp SA, Odoo Community Association (OCA)",
|
|
"website": "https://github.com/OCA/intrastat-extrastat",
|
|
"license": "AGPL-3",
|
|
"category": "Reporting",
|
|
"data": ["views/product_views.xml"],
|
|
"installable": True,
|
|
"auto_install": True,
|
|
}
|