Skip to Content
Menu
This question has been flagged

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. 

Avatar
Discard
Related Posts Replies Views Activity
2
Jul 18
14403
4
Jan 24
1256
1
May 22
2792
1
Sep 15
5042
2
May 24
6248