Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
141 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mag 25
4231
0
nov 24
1340
1
ago 24
2127
1
ago 24
3959
2
mag 23
2566