odoo-module-migrator 16

This commit is contained in:
santi 2024-08-28 18:11:36 +00:00
parent 3dffeeba00
commit 3d189d87a1
4 changed files with 8 additions and 9 deletions

View file

@ -2,7 +2,7 @@
'name': 'Product Create Stock Picking', 'name': 'Product Create Stock Picking',
'category': 'Warehouse', 'category': 'Warehouse',
'summary': 'Add an action to create a stock picking from a selection of products.', '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': """ 'description': """
Add an action to create a stock picking from a selection of products. Add an action to create a stock picking from a selection of products.

View file

@ -11,7 +11,6 @@ from odoo import tools, models, fields, api, _
class ProductTemplate(models.Model): class ProductTemplate(models.Model):
_inherit = "product.template" _inherit = "product.template"
@api.multi
def create_stock_picking(self): def create_stock_picking(self):
picking_vals = self.env['stock.picking'].default_get(self.env['stock.picking']._fields.keys()) picking_vals = self.env['stock.picking'].default_get(self.env['stock.picking']._fields.keys())
picking_vals.update({ picking_vals.update({

View file

@ -2,7 +2,7 @@
'name': 'Product Library', 'name': 'Product Library',
'category': 'Product', 'category': 'Product',
'summary': 'Add library related fields to product', 'summary': 'Add library related fields to product',
'version': '12.0.1.0.2', 'version': '13.0.0.1',
'description': """ 'description': """
Addon mejora de Odoo para librerías y tiendas de discos Addon mejora de Odoo para librerías y tiendas de discos

View file

@ -11,16 +11,16 @@ _logger = logging.getLogger(__name__)
class ProductTemplate(models.Model): class ProductTemplate(models.Model):
_inherit = "product.template" _inherit = "product.template"
subtitle = fields.Char('Subtítulo') subtitle = fields.Char('Subtitulo')
editorial = fields.Char('Editorial') editorial = fields.Char('Editorial')
formato = fields.Char('Formato') formato = fields.Char('Formato')
pais_edicion = fields.Char('País de Edicion') pais_edicion = fields.Char('Pais de edicion')
colacion = fields.Char('Colación') colacion = fields.Char('Colacion')
autor = fields.Char('Autor') autor = fields.Char('Autor')
isbn = fields.Char('ISBN') isbn = fields.Char('ISBN')
coleccion = fields.Char('Colección') coleccion = fields.Char('Coleccion')
subcoleccion = fields.Char('Subcolección') subcoleccion = fields.Char('Subcoleccion')
idioma = fields.Char('Idioma') idioma = fields.Char('Idioma')
fecha_entrada = fields.Char('Fecha de entrada') fecha_entrada = fields.Char('Fecha de entrada')
fecha_edicion = fields.Char('Fecha de edición') fecha_edicion = fields.Char('Fecha de edición')
genero = fields.Char('Género') genero = fields.Char('Genero')