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

Hi, 

Hosting Variants: All Odoo hosting variants (Odoo SAAS, Odoo.SH, Odoo onPrem)

Versions: Odoo 16.0 (other versions not tested)

App: Studio

Description:


I tried to set a condition on a field to make it conditionally invisible.


Condition on : [["x_active","=",True]]

Error: "This operation caused an error, probably because a xpath was broken"


After some analysis, I found a workaround but I reported it as a bug as well. 


Workaround: 

Modify the condition manually to [['x_active','=',True]] (note: use quotes instead of double-quotes). Now it is working, but you cannot modify the condition anymore. Do modify the condition, you need 1) to modify it in the XML view or 2) unset the condition and recreate it from scratch. 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يوليو 18
14403
4
يناير 24
1256
1
مايو 22
2792
1
سبتمبر 15
5042
2
مايو 24
6248