Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
20477 Vues

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
Ignorer
Meilleure réponse

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

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

See Qweb reference

Avatar
Ignorer
Meilleure réponse

Thanks for the help :)


Avatar
Ignorer
Publications associées Réponses Vues Activité
0
nov. 15
4607
0
janv. 25
3986
4
janv. 25
45065
0
oct. 24
1722
0
oct. 24
5