Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
129 Vistas

Hey there,


I am quite new to Odoo and try to configure some complex products. The goal is to show or hide attributes for products with variants in Odoo app (not in E-Commerce configuration). An example:

Attribute: Material (leather, wool, stone)
Attribute: Leather colors (red, green, blue)

So the leather colors should only show up, if leather has been chosen.

I already added Many2One fields on attribute level (one field for attribute and one for value) - some kind of "only show if" and implemented this logic in PDF (working fine here). My problem is to integrate it in the popup in the sales app.

I would be happy to hear from you if you have an approach to this or have encountered the problem before!

Thank you!

Avatar
Descartar
Mejor respuesta

Hi,

You can’t fully hide or show product attributes dynamically in the Sales popup because custom coding isn’t allowed. However, you can still handle it in a few smart ways using Studio fields, optional products, or by structuring your product templates differently.

Solution:

Create custom fields like “Leather Color”.Set Visibility Conditions in Studio (e.g., show only if Material = Leather).Works in product forms, not in the Sales pop-up.


Hope it helps.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
may 25
4230
0
nov 24
1340
1
ago 24
2127
1
ago 24
3958
2
may 23
2566