Hello,
I have an html field and I want to display the field on Qweb report if it is not empty.
python code:
note= fields.Html(string="Note")
Qweb:
<p t-if="doc.note">
<strong>Note: </strong>
<span t-raw="doc.note"/>
</p>
if the the field is empty I got always the result:
Note:
Which is not as should be expected, I don't know if t-if tag is working on html.fields, please help !
Best regards
Hello,
Thank you for yourreply, I tried your code but it does not work