Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
128 Widoki

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!

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
maj 25
4230
0
lis 24
1340
1
sie 24
2127
1
sie 24
3958
2
maj 23
2566