Ir al contenido
Odoo Menú
  • Inicia sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Inteligencia artificial
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de propiedades
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Comunidad
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita 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
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de 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

Se marcó esta pregunta
developmentsales
3 Respuestas
1734 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.

Registrarse
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 en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • 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 de código abierto que cubren 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.

Sitio web hecho con

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