Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
20326 Visualizzazioni

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
Abbandona
Risposta migliore

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

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

See Qweb reference

Avatar
Abbandona
Risposta migliore

Thanks for the help :)


Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
nov 15
4512
0
gen 25
3902
4
gen 25
44684
0
ott 24
1515
0
ott 24
5