From 3d189d87a1bcbc1f254b7baf25a9996609389f91 Mon Sep 17 00:00:00 2001 From: santi Date: Wed, 28 Aug 2024 18:11:36 +0000 Subject: [PATCH] odoo-module-migrator 16 --- product_create_stock_picking/__manifest__.py | 2 +- .../models/product_template.py | 1 - product_library/__manifest__.py | 2 +- product_library/models/product_template.py | 12 ++++++------ 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/product_create_stock_picking/__manifest__.py b/product_create_stock_picking/__manifest__.py index 37b527a..ff02431 100644 --- a/product_create_stock_picking/__manifest__.py +++ b/product_create_stock_picking/__manifest__.py @@ -2,7 +2,7 @@ 'name': 'Product Create Stock Picking', 'category': 'Warehouse', 'summary': 'Add an action to create a stock picking from a selection of products.', - 'version': '12.0.0.0.1', + 'version': "16.0.1.0.0", 'description': """ Add an action to create a stock picking from a selection of products. diff --git a/product_create_stock_picking/models/product_template.py b/product_create_stock_picking/models/product_template.py index fc6609b..9b8c8e9 100644 --- a/product_create_stock_picking/models/product_template.py +++ b/product_create_stock_picking/models/product_template.py @@ -11,7 +11,6 @@ from odoo import tools, models, fields, api, _ class ProductTemplate(models.Model): _inherit = "product.template" - @api.multi def create_stock_picking(self): picking_vals = self.env['stock.picking'].default_get(self.env['stock.picking']._fields.keys()) picking_vals.update({ diff --git a/product_library/__manifest__.py b/product_library/__manifest__.py index e4f7ce9..ea071f7 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': '12.0.1.0.2', + 'version': '13.0.0.1', 'description': """ Addon mejora de Odoo para librerías y tiendas de discos diff --git a/product_library/models/product_template.py b/product_library/models/product_template.py index 4719c0a..59ca65d 100644 --- a/product_library/models/product_template.py +++ b/product_library/models/product_template.py @@ -11,16 +11,16 @@ _logger = logging.getLogger(__name__) class ProductTemplate(models.Model): _inherit = "product.template" - subtitle = fields.Char('Subtítulo') + subtitle = fields.Char('Subtitulo') editorial = fields.Char('Editorial') formato = fields.Char('Formato') - pais_edicion = fields.Char('País de Edicion') - colacion = fields.Char('Colación') + pais_edicion = fields.Char('Pais de edicion') + colacion = fields.Char('Colacion') autor = fields.Char('Autor') isbn = fields.Char('ISBN') - coleccion = fields.Char('Colección') - subcoleccion = fields.Char('Subcolección') + coleccion = fields.Char('Coleccion') + subcoleccion = fields.Char('Subcoleccion') idioma = fields.Char('Idioma') fecha_entrada = fields.Char('Fecha de entrada') fecha_edicion = fields.Char('Fecha de edición') - genero = fields.Char('Género') + genero = fields.Char('Genero')