Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
20345 Weergaven

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
Annuleer
Beste antwoord

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

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

See Qweb reference

Avatar
Annuleer
Beste antwoord

Thanks for the help :)


Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
nov. 15
4516
0
jan. 25
3907
4
jan. 25
44695
0
okt. 24
1535
0
okt. 24
5