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.