[FIX] nfu_product_bnn_attributes: Temporay disable image_1920 field verification for product.image
This commit is contained in:
parent
bd1f62b327
commit
4bd2084593
6 changed files with 14 additions and 2 deletions
|
|
@ -41,6 +41,7 @@ Changelog
|
||||||
- 16.0.1.2.2: Enable Unit of Measure on installation
|
- 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.0: Add GTIN Article field and update metadata retrieval
|
||||||
- 16.0.1.3.1: Temporay disable image_1920 field verification
|
- 16.0.1.3.1: Temporay disable image_1920 field verification
|
||||||
|
- 16.0.1.3.2: Temporay disable image_1920 field verification for product.image
|
||||||
|
|
||||||
Bug Tracker
|
Bug Tracker
|
||||||
===========
|
===========
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
"author": "BAKEUP",
|
"author": "BAKEUP",
|
||||||
"website": "https://www.bakeup.org",
|
"website": "https://www.bakeup.org",
|
||||||
"category": "Product",
|
"category": "Product",
|
||||||
"version": "16.0.1.3.1",
|
"version": "16.0.1.3.2",
|
||||||
"depends": ["nfu_product", "data_nature_importer"],
|
"depends": ["nfu_product", "data_nature_importer"],
|
||||||
"data": ["data/ir_config_parameter.xml", "views/product_bnn_views.xml"],
|
"data": ["data/ir_config_parameter.xml", "views/product_bnn_views.xml"],
|
||||||
"assets": {},
|
"assets": {},
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,3 @@
|
||||||
|
from . import product_image
|
||||||
from . import product_product
|
from . import product_product
|
||||||
from . import product_template
|
from . import product_template
|
||||||
|
|
|
||||||
8
nfu_product_bnn_attributes/models/product_image.py
Normal file
8
nfu_product_bnn_attributes/models/product_image.py
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
from odoo import fields, models
|
||||||
|
|
||||||
|
|
||||||
|
class ProductImage(models.Model):
|
||||||
|
_inherit = "product.image"
|
||||||
|
|
||||||
|
# TODO: Remove as soon as data_nature thumbnails work
|
||||||
|
image_1920 = fields.Image(verify_resolution=False)
|
||||||
|
|
@ -6,4 +6,5 @@
|
||||||
- 16.0.1.2.1: Always write the company in the product 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.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.0: Add GTIN Article field and update metadata retrieval
|
||||||
- 16.0.1.3.1: Temporay disable image_1920 field verification
|
- 16.0.1.3.1: Temporay disable image_1920 field verification
|
||||||
|
- 16.0.1.3.2: Temporay disable image_1920 field verification for product.image
|
||||||
|
|
@ -395,6 +395,7 @@ ul.auto-toc {
|
||||||
<li>16.0.1.2.2: Enable Unit of Measure on installation</li>
|
<li>16.0.1.2.2: Enable Unit of Measure on installation</li>
|
||||||
<li>16.0.1.3.0: Add GTIN Article field and update metadata retrieval</li>
|
<li>16.0.1.3.0: Add GTIN Article field and update metadata retrieval</li>
|
||||||
<li>16.0.1.3.1: Temporay disable image_1920 field verification</li>
|
<li>16.0.1.3.1: Temporay disable image_1920 field verification</li>
|
||||||
|
<li>16.0.1.3.2: Temporay disable image_1920 field verification for product.image</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="bug-tracker">
|
<div class="section" id="bug-tracker">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue