Skip to Content
Menu
This question has been flagged
3 Replies
20393 Rodiniai

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 

 

Portretas
Atmesti
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

Portretas
Atmesti
Best Answer

Thanks for the help :)


Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
lapkr. 15
4554
0
saus. 25
3927
4
saus. 25
44846
0
spal. 24
1650
0
spal. 24
5