Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3 Besvarelser
20451 Visninger

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
Kassér
Bedste svar

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

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

See Qweb reference

Avatar
Kassér
Bedste svar

Thanks for the help :)


Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
nov. 15
4595
0
jan. 25
3974
4
jan. 25
45017
0
okt. 24
1707
0
okt. 24
5