Skip to Content
Menú
This question has been flagged
1002 Vistes

In Odoo, I have a scenario where I need to conditionally hide a field based on the content of an HTML field. However, the HTML field always contains <p><br/></p> tags, even when it's technically empty. Is there a way to check if the HTML field is "empty" (i.e., contains no meaningful content) and hide another field based on that in the XML side using attrs? How can I achieve this without relying on just the <p><br/></p> content?

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de set. 25
2425
1
d’ag. 25
1923
1
d’ag. 25
859
2
de jul. 25
1309
0
de jul. 25
965