Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
757 Weergaven

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
aug. 25
279
2
jul. 25
409
0
jul. 25
496
0
jul. 25
1136
1
mei 25
1588