diff --git a/product_library/__manifest__.py b/product_library/__manifest__.py index ea071f7..fc8ce0b 100644 --- a/product_library/__manifest__.py +++ b/product_library/__manifest__.py @@ -2,7 +2,7 @@ 'name': 'Product Library', 'category': 'Product', 'summary': 'Add library related fields to product', - 'version': '13.0.0.1', + 'version': "16.0.1.0.0", 'description': """ Addon mejora de Odoo para librerías y tiendas de discos diff --git a/product_library/models/product_product.py b/product_library/models/product_product.py index 0cb6f82..c584498 100644 --- a/product_library/models/product_product.py +++ b/product_library/models/product_product.py @@ -10,7 +10,6 @@ from odoo import models, fields, api class ProductProduct(models.Model): _inherit = 'product.product' - @api.multi @api.depends('image') def _compute_has_image(self): for product in self: diff --git a/product_library/views/product.xml b/product_library/views/product.xml index 938faef..210c30f 100644 --- a/product_library/views/product.xml +++ b/product_library/views/product.xml @@ -1,6 +1,5 @@ - - + product.template.library.form product.template @@ -27,5 +26,4 @@ - - +