Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
846 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
sep. 25
1962
1
avg. 25
1610
1
avg. 25
608
2
jul. 25
701
0
jul. 25
749