Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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. 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lip 18
15282
4
sty 24
2186
1
maj 22
3478
1
wrz 15
5676
2
maj 24
8533