diff --git a/nfu_product_bnn_attributes/README.rst b/nfu_product_bnn_attributes/README.rst index 2a8c650..cd55a9a 100644 --- a/nfu_product_bnn_attributes/README.rst +++ b/nfu_product_bnn_attributes/README.rst @@ -40,6 +40,7 @@ Changelog - 16.0.1.2.1: Always write the company in the product packaging - 16.0.1.2.2: Enable Unit of Measure on installation - 16.0.1.3.0: Add GTIN Article field and update metadata retrieval +- 16.0.1.3.1: Temporay disable image_1920 field verification Bug Tracker =========== diff --git a/nfu_product_bnn_attributes/__manifest__.py b/nfu_product_bnn_attributes/__manifest__.py index 5a275e9..96982aa 100644 --- a/nfu_product_bnn_attributes/__manifest__.py +++ b/nfu_product_bnn_attributes/__manifest__.py @@ -4,7 +4,7 @@ "author": "BAKEUP", "website": "https://www.bakeup.org", "category": "Product", - "version": "16.0.1.3.0", + "version": "16.0.1.3.1", "depends": ["nfu_product", "data_nature_importer"], "data": ["data/ir_config_parameter.xml", "views/product_bnn_views.xml"], "assets": {}, diff --git a/nfu_product_bnn_attributes/models/product_template.py b/nfu_product_bnn_attributes/models/product_template.py index 0f6f937..7525061 100644 --- a/nfu_product_bnn_attributes/models/product_template.py +++ b/nfu_product_bnn_attributes/models/product_template.py @@ -6,6 +6,9 @@ from odoo.addons.data_nature_importer.utils import get_datanature_metadata class ProductTemplate(models.Model): _inherit = "product.template" + # TODO: Remove as soon as data_nature thumbnails work + image_1920 = fields.Image(verify_resolution=False) + manufacturer_abbr = fields.Char(string="Manufacturer Abbreviation") # Should be moved to product.product at some point additional_information = fields.Char() diff --git a/nfu_product_bnn_attributes/readme/HISTORY.rst b/nfu_product_bnn_attributes/readme/HISTORY.rst index 1099530..6f827bb 100644 --- a/nfu_product_bnn_attributes/readme/HISTORY.rst +++ b/nfu_product_bnn_attributes/readme/HISTORY.rst @@ -5,4 +5,5 @@ - 16.0.1.2.0: Add Multi company to packaging - 16.0.1.2.1: Always write the company in the product packaging - 16.0.1.2.2: Enable Unit of Measure on installation -- 16.0.1.3.0: Add GTIN Article field and update metadata retrieval \ No newline at end of file +- 16.0.1.3.0: Add GTIN Article field and update metadata retrieval +- 16.0.1.3.1: Temporay disable image_1920 field verification \ No newline at end of file diff --git a/nfu_product_bnn_attributes/static/description/index.html b/nfu_product_bnn_attributes/static/description/index.html index 95367fa..c1bab07 100644 --- a/nfu_product_bnn_attributes/static/description/index.html +++ b/nfu_product_bnn_attributes/static/description/index.html @@ -394,6 +394,7 @@ ul.auto-toc {