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

I want to replace 0.00 (second row) which are null data by blank space in span or a DASH.

My data is coming through dictionary in xml for eg: 

t-esc="pline['tds']"/>

I tried using "  or '-'  " but not working 


 

Avatar
Descartar
Mejor respuesta

Hi

You can use    for blank space in qweb report.

Try with this example



<t t-if="pline['tds']">
<t t-esc="pline['tds']"/>
</t>
<t t-else="">
<span> &amp;nbsp;</span>
</t>

Regards

Avatar
Descartar
Autor

THANKYOU

Publicaciones relacionadas Respuestas Vistas Actividad
0
abr 24
787
0
oct 24
772
0
ene 22
9
0
sept 23
1487
2
mar 20
3421