diff --git a/product_harmonized_system_delivery/__manifest__.py b/product_harmonized_system_delivery/__manifest__.py index a0945e5..4813b4d 100644 --- a/product_harmonized_system_delivery/__manifest__.py +++ b/product_harmonized_system_delivery/__manifest__.py @@ -4,13 +4,14 @@ { 'name': 'Product Harmonized System Codes - Delivery', - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', 'category': 'Reporting', 'license': 'AGPL-3', - 'summary': 'Hide native hs_code field provided by the delivery module', + 'summary': 'Hide native hs_code field provided by the delivery_hs_code ' + 'module', 'author': 'Akretion, Odoo Community Association (OCA)', - 'depends': ['delivery', 'product_harmonized_system'], + 'depends': ['delivery_hs_code', 'product_harmonized_system'], 'data': ['views/product_template.xml'], - 'installable': False, + 'installable': True, 'auto_install': True, } diff --git a/product_harmonized_system_delivery/i18n/es.po b/product_harmonized_system_delivery/i18n/es.po new file mode 100644 index 0000000..7461f08 --- /dev/null +++ b/product_harmonized_system_delivery/i18n/es.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" diff --git a/product_harmonized_system_delivery/i18n/product_harmonized_system_delivery.pot b/product_harmonized_system_delivery/i18n/product_harmonized_system_delivery.pot new file mode 100644 index 0000000..d2e396f --- /dev/null +++ b/product_harmonized_system_delivery/i18n/product_harmonized_system_delivery.pot @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + diff --git a/product_harmonized_system_delivery/readme/DESCRIPTION.rst b/product_harmonized_system_delivery/readme/DESCRIPTION.rst index ecd76ab..d625c6a 100644 --- a/product_harmonized_system_delivery/readme/DESCRIPTION.rst +++ b/product_harmonized_system_delivery/readme/DESCRIPTION.rst @@ -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* 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 *delivery* 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_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. diff --git a/product_harmonized_system_delivery/views/product_template.xml b/product_harmonized_system_delivery/views/product_template.xml index d9a6695..13df8dd 100644 --- a/product_harmonized_system_delivery/views/product_template.xml +++ b/product_harmonized_system_delivery/views/product_template.xml @@ -11,7 +11,7 @@ hide_native_hs_code_field.product.template.form product.template - + 1