Skip to Content
Menu
This question has been flagged
1 Reply
3831 Views

How can i securely render HTML formated text with some allowed tags like <b> <i> on a odoo qweb report.

I don't trust t-raw. 

There are any odoo module or example code for this?

Avatar
Discard
Best Answer

Hi,

use following approaches;

<t t-if="your_conditions">
     <b></b>
</t>
or
<b t-if="condition">Sample Text</b>


Avatar
Discard
Related Posts Replies Views Activity
2
Sep 23
25353
2
Jul 23
4821
1
Jun 23
3250
1
Apr 23
4094
1
Nov 22
2897