Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
jul 18
14603
4
ene 24
1467
1
may 22
2924
1
sept 15
5207
2
may 24
6646