Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Inteligencia artificial
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Sectores
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Asesoría contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Cervecería
    • Regalos corporativos
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Oficios
    • Servicios de mantenimiento
    • Hardware y soporte técnico
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de vallas publicitarias
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Servicios para partners
    • Registrar tu asesoría contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Sobre este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Sobre este foro
Ayuda

Filtering by Attribute Value removed in catalog in Odoo 19

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Esta pregunta ha sido marcada
developmentsales
3 Respuestas
1733 Vistas
Avatar
BobInc, Chuck Mako

In odoo 18 in the backend product catalog, you could filter by Attribute Values in the SearchPanel:

                <searchpanel>
                    <field name="categ_id"
                           string="Product Category"
                           icon="fa-th-list"/>
                    <field name="product_template_attribute_value_ids"
                           string="Attributes"
                           icon="fa-th-list"
                           domain="[('ptav_active', '=', True), ('product_tmpl_id.active', '=', True)]"
                           enable_counters="1"
                           select="multi"/>
                </searchpanel>


But in odoo 19 I see that the PTAV was replaced by Tags:

                <searchpanel>
                    <field name="categ_id"
                           string="Categories"
                           icon="fa-th-list"/>
                    <field name="product_tag_ids"
                           string="Tags"
                           icon="fa-th-list"
                           enable_counters="1"
                           select="multi"/>
                </searchpanel>

Is there any reason for this change? I want to still be able to filter by ptav like color etc

0
Avatar
Descartar
Codesphere Tech

Hello,
Are you talking about catalog view open from sales order?

faOtools

This tool - https://apps.odoo.com/apps/modules/19.0/product_management - might also be helpful for those who are searching for an advanced tool to filter by attributes. Among others, it lets you display products that have a particular attribute or attribute value; search for attributes themselves; and mass update product attributes and values.

Avatar
CandidRoot Solutions
Mejor respuesta

Hello Chuck,

You are spot on, this is a deliberate change in the v19 codebase (and recent v18 updates).

Odoo replaced the specific attribute filtering (product_template_attribute_value_ids) with Tags in the catalog view mainly for performance. In databases with complex variants (like apparel with Color/Size/Fabric), loading that attribute list in the sidebar was causing significant slowdowns. Tags are much lighter to query.

However, for many use cases, filtering by specific attributes is mandatory. You can easily add it back by extending the search view.

The Fix (XML): You can use an xpath to insert the field back into the search panel. This snippet restores the v18 behavior:

XML

<record id="view_product_catalog_search_restore_attributes" model="ir.ui.view">
    <field name="name">product.catalog.search.restore.attributes</field>
    <field name="model">product.product</field>
    <field name="inherit_id" ref="product.product_view_search_catalog"/>
    <field name="arch" type="xml">
        <xpath expr="//searchpanel/field[@name='product_tag_ids']" position="before">
            <field name="product_template_attribute_value_ids"
                   string="Attributes"
                   icon="fa-th-list"
                   enable_counters="1"
                   select="multi"
                   domain="[('ptav_active', '=', True), ('product_tmpl_id.active', '=', True)]"/>
        </xpath>
    </field>
</record>

If you are using Odoo Studio:

  1. Open the Product Catalog.

  2. Toggle Studio and click on the Search View (usually on the left sidebar options).

  3. Find "Product Template Attribute Values" in the field list and drag it back into the Search Panel area.

So to answer your question: Yes, there is a reason (performance), but you can safely revert it if your catalog isn't massive.

Hope this helps!

If this helped, kindly upvote.

Best Regards,
,
CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Whatapp: (+91) 8849036209

Email: info@candidroot.com
Web: https://www.candidroot.com

2
Avatar
Descartar
BobInc, Chuck Mako
Autor

Thank you!

Avatar
Hristo Chankov
Mejor respuesta

Dear @Vimal - how you have done this?

P.S. I can believe that ODOO removed this. I am very disappointed. One of the reason to choose ODOO was that can categorize products in catalog and use something like faceted search. Have no idea how other user, with thousands of products, can use it and find right product.

0
Avatar
Descartar
Avatar
Vimal bhimani
Mejor respuesta

in v19 i created search panel with variant ,  inside attribute OR and between 2 attribute AND logic ,can filter very fast  
email me ,I can share module , vimal_bhimani2000@yahoo.com

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
How to Print Shipping Labels Automatically Without Using IoT? Resuelto
development configuration sales
Avatar
Avatar
Avatar
2
mar 26
1090
Restrict pricelist visibility per user in Odoo? (best practice?) Resuelto
development configuration sales
Avatar
Avatar
2
ene 26
1484
Upselling subscription discounts the recurring price
development sales service
Avatar
0
nov 25
1125
Comment utiliser stock.piking
development stock sales
Avatar
0
mar 25
1956
Why Total Discount Sum Stopped Working Suddenly?
development sales odoo16features
Avatar
0
jul 23
3347
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones empresariales de código abierto que cubre todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now