From 3b0d37a0ac3d4a3ef5997d38aef2759c86695004 Mon Sep 17 00:00:00 2001 From: santi Date: Wed, 28 Aug 2024 18:14:13 +0000 Subject: [PATCH] [MIG] product_library: Migration to 16.0 --- product_library/__manifest__.py | 2 +- product_library/models/product_product.py | 1 - product_library/views/product.xml | 6 ++---- 3 files changed, 3 insertions(+), 6 deletions(-) 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 @@ - - +