Skip to Content
Menu
This question has been flagged
1 Reply
192 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
2
May 25
4232
0
Nov 24
1340
1
Aug 24
2129
1
Aug 24
3961
2
May 23
2568