Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4243 Vistas

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
Descartar
Mejor respuesta

Hi,

use following approaches;

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


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
sept 23
26375
2
jul 23
6283
1
jun 23
4316
1
abr 23
5036
1
nov 22
3737