Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
20353 Zobrazení

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
Zrušit
Nejlepší odpověď

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

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

See Qweb reference

Avatar
Zrušit
Nejlepší odpověď

Thanks for the help :)


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
lis 15
4521
0
led 25
3909
4
led 25
44733
0
říj 24
1555
0
říj 24
5