Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
767 Переглядів

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?

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
серп. 25
303
2
лип. 25
421
0
лип. 25
500
0
лип. 25
1146
1
трав. 25
1606