تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
235 أدوات العرض

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!

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مايو 25
4234
0
نوفمبر 24
1340
1
أغسطس 24
2131
1
أغسطس 24
3968
2
مايو 23
2571