Skip to Content
Menú
This question has been flagged
3 Respostes
20388 Vistes

In the old rml reports I was able to make arthmatic operations on the field (like multiplying 2 fields)

is this still possible in the new Qweb reports  ??

I want to show a value in the <td> that consists of multiplying 2 fields together 

 

Thanks 

 

Avatar
Descartar
Best Answer

Yes, this is possible, use t-esc and try like this:

<td><span t-esc="o.ABC * o.XYZ"/></td>

See Qweb reference

Avatar
Descartar
Best Answer

Thanks for the help :)


Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de nov. 15
4532
0
de gen. 25
3923
4
de gen. 25
44841
0
d’oct. 24
1645
0
d’oct. 24
5