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?
Esta pergunta foi sinalizada
2223
Visualizações
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
0
mar. 26
|
25 | ||
|
|
0
mar. 26
|
3 | ||
|
|
0
mar. 26
|
83 | ||
|
|
1
nov. 25
|
3629 | ||
|
|
1
nov. 25
|
2800 |