diff --git a/product_create_stock_picking/__manifest__.py b/product_create_stock_picking/__manifest__.py index ff02431..513c21a 100644 --- a/product_create_stock_picking/__manifest__.py +++ b/product_create_stock_picking/__manifest__.py @@ -1,28 +1,17 @@ { - 'name': 'Product Create Stock Picking', - 'category': 'Warehouse', - 'summary': 'Add an action to create a stock picking from a selection of products.', - 'version': "16.0.1.0.0", - 'description': """ + "name": "Product Create Stock Picking", + "category": "Warehouse", + "summary": "Add an action to create a stock picking from a selection of products.", + "version": "16.0.1.0.0", + "author": "Criptomart", + "license": "AGPL-3", + "description": """ Add an action to create a stock picking from a selection of products. -""", - 'author': 'Criptomart', - 'depends': [ - 'stock', - ], - 'external_dependencies': {'python': [], 'bin': []}, - 'data': [ - 'data/data.xml', - ], - 'qweb': [], - 'demo': [], - 'installable': True, - 'auto_install': False, - 'application': True, - "post_load": None, - "pre_init_hook": None, - "post_init_hook": None, - "uninstall_hook": None, + """, + "depends": ["stock"], + "data": ["data/data.xml"], + "installable": True, + "application": False, } diff --git a/product_library/__manifest__.py b/product_library/__manifest__.py index 96c156b..7b2b724 100644 --- a/product_library/__manifest__.py +++ b/product_library/__manifest__.py @@ -1,24 +1,20 @@ { - 'name': 'Product Library', - 'category': 'Product', - 'summary': 'Add library related fields to product', - 'version': "16.0.1.0.0", - 'description': """ + "name": "Product Library", + "category": "Product", + "summary": "Add library related fields to product", + "version": "16.0.1.0.0", + 'author': "Criptomart", + "license": "AGPL-3", + "description": """ Addon mejora de Odoo para librerías y tiendas de discos ================================================== * Añade campos a product: Editorial, autor, género, formato, fecha de edición, fecha de entrada, colección, subcolección. * Hace búsquedas en la ficha de productos del backend en esos campos nuevos. """, - 'author': 'Criptomart', - 'depends': [ - 'product', - ], - 'data': [ - 'views/product.xml', - ], - 'demo': [], - 'installable': True, - 'auto_install': False, - 'application': True, + "depends": ["product"], + "data": ["views/product.xml"], + "demo": [], + "installable": True, + "application": True, } diff --git a/product_retail_cm/__manifest__.py b/product_retail_cm/__manifest__.py index 38bbfcd..923ad07 100644 --- a/product_retail_cm/__manifest__.py +++ b/product_retail_cm/__manifest__.py @@ -1,23 +1,19 @@ { - 'name': 'Product Retail', - 'category': 'Product', - 'summary': 'Gestiona productos en distribución.', - 'version': "16.0.1.0.0", - 'description': """ + "name": "Product Retail", + "category": "Product", + "summary": "Gestiona productos en distribución a minoristas.", + "author": "Criptomart", + "license": "AGPL-3", + "version": "16.0.1.0.0", + "description": """ Gestiona productos en distribución / Venta a minoristas ================================================== * Añade campo a product: En Distribución y margin de minoristas. * Filtro de productos en distribución en la vista de productos. """, - 'author': 'Criptomart', - 'depends': [ - 'product', - ], - 'data': [ - 'views/product.xml', - ], - 'installable': True, - 'auto_install': False, - 'application': False, + "depends": ["product"], + "data": ["views/product.xml"], + "installable": True, + "application": False, } diff --git a/product_retail_cm/models/product_template.py b/product_retail_cm/models/product_template.py index 969896f..e61ca84 100644 --- a/product_retail_cm/models/product_template.py +++ b/product_retail_cm/models/product_template.py @@ -1,7 +1,7 @@ # Copyright (C) 2022-2024: Criptomart (https://criptomart.net) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from odoo import tools, models, fields, api, _ +from odoo import models, fields class ProductTemplate(models.Model): diff --git a/stock_picking_deposito/models/stock_picking.py b/stock_picking_deposito/models/stock_picking.py index f9855e7..12cd178 100644 --- a/stock_picking_deposito/models/stock_picking.py +++ b/stock_picking_deposito/models/stock_picking.py @@ -41,8 +41,7 @@ class Picking(models.Model): for picking in self: if not picking.partner_id: return - _logger.warning("onchange %s %s", picking.location_dest_id.name, picking.location_id.name) # web cliebt does not update without this, wtf? - _logger.warning("onchange %s", picking.picking_type_id.code) + _logger.debug("onchange %s %s", picking.location_dest_id.name, picking.location_id.name) # web cliebt does not update without this, wtf? if picking.picking_type_id.is_deposit: if picking.picking_type_id.code in ["internal","outgoing"]: if not picking.partner_id.deposit_sale_accept: diff --git a/website_description_internal/__manifest__.py b/website_description_internal/__manifest__.py index 95f08ec..7b1348b 100644 --- a/website_description_internal/__manifest__.py +++ b/website_description_internal/__manifest__.py @@ -1,15 +1,16 @@ { - 'name': 'Website Descrition Internal', - 'version': '16.0.1.0.0', - 'summary': 'Sobrescribe el campo website_description y devuelve el campo internal description. Hereda la vista del campo y modifica el css.', - 'author': 'Criptomart', - 'depends': ['product','website_sale'], - 'data': ['views/templates.xml'], - 'assets': { - 'web.assets_frontend': [ - 'website_description_internal/static/src/scss/custom.scss', + "name": "Website Descrition Internal", + "version": "16.0.1.0.0", + "summary": "Sobrescribe el campo website_description y devuelve el campo internal description. Hereda la vista del campo y modifica el css.", + "author2": "Criptomart", + "license": "AGPL-3", + "depends": ["product","website_sale"], + "data": ["views/templates.xml"], + "assets": { + "web.assets_frontend": [ + "website_description_internal/static/src/scss/custom.scss", ], }, - 'installable': True, - 'application': False, + "installable": True, + "application": False, } diff --git a/website_sale_product_library/__manifest__.py b/website_sale_product_library/__manifest__.py index 2b34c1c..1219a10 100644 --- a/website_sale_product_library/__manifest__.py +++ b/website_sale_product_library/__manifest__.py @@ -1,5 +1,5 @@ { - "name": "Website Sale Product Library.", + "name": "Website Sale Product Library", "version": "16.0.1.0.3", "category": "Website", "summary": "Modifica website_sale para una librería / Tienda de música.", @@ -15,13 +15,13 @@ Modifica la tienda online con los campos de product_library. * Linka internal description con website_description. * Muestra en product en la lista de productos los campos de product_library (subtítulo, autor, editorial, formato, género). * En la vista del producto, añade subtítulo y autor después del nombre y la descripción. -* Búsueda en la web por autor, editorial y subtítulo. +* Búsqueda en la web por autor, editorial y subtítulo, quita la búsqueda en descripción. """, "depends": ["website_sale", "product_library"], "data": ["views/website_sale_views.xml"], "assets": { "web.assets_frontend": [ - "website_sale_product_description_displayed/static/src/scss/custom.scss", + "website_sale_product_library/static/src/scss/custom.scss", ], }, "application": False, diff --git a/website_sale_product_library/views/website_sale_views.xml b/website_sale_product_library/views/website_sale_views.xml index cbcc60d..20d1f96 100644 --- a/website_sale_product_library/views/website_sale_views.xml +++ b/website_sale_product_library/views/website_sale_views.xml @@ -8,10 +8,10 @@ > - . - . - - + . + . + +