WIP search domain ebsite

This commit is contained in:
snt 2024-09-18 17:21:07 +02:00
parent 3e0c3eeccb
commit d57fa37505
8 changed files with 56 additions and 75 deletions

View file

@ -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,
}

View file

@ -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,
}

View file

@ -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,
}

View file

@ -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):

View file

@ -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:

View file

@ -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,
}

View file

@ -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,