[MIG] product_harmonized_system_delivery: Migration to 13.0

This commit is contained in:
Guewen Baconnier
2020-01-09 08:04:08 +01:00
committed by Alexis de Lattre
parent ef12d2614a
commit 4147d020de
4 changed files with 6 additions and 6 deletions

View File

@@ -4,13 +4,12 @@
{
"name": "Product Harmonized System Codes - Delivery",
"version": "12.0.1.0.0",
"version": "13.0.1.0.0",
"category": "Reporting",
"license": "AGPL-3",
"summary": "Hide native hs_code field provided by the delivery_hs_code "
"module",
"summary": "Hide native hs_code field provided by the delivery module",
"author": "Akretion, Odoo Community Association (OCA)",
"depends": ["delivery_hs_code", "product_harmonized_system"],
"depends": ["delivery", "product_harmonized_system"],
"data": ["views/product_template.xml"],
"installable": True,
"auto_install": True,

View File

@@ -1 +1,2 @@
* Alexis de Lattre <alexis.delattre@akretion.com>
* Guewen Baconnier <guewen.baconnier@camptocamp.com>

View File

@@ -1 +1 @@
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 *delivery_hs_code* module from the official addons (an auto-install module that depends on *delivery*) 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 *delivery_hs_code* module, to avoid confusion.
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 *delivery* module from the official addons (an auto-install module that depends on *delivery*) 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 *delivery* module, to avoid confusion.

View File

@@ -11,7 +11,7 @@
<record id="product_template_hs_code" model="ir.ui.view">
<field name="name">hide_native_hs_code_field.product.template.form</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="delivery_hs_code.product_template_hs_code" />
<field name="inherit_id" ref="delivery.product_template_hs_code" />
<field name="arch" type="xml">
<field name="hs_code" position="attributes">
<attribute name="invisible">1</attribute>