İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
20359 Görünümler

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
Vazgeç
En İyi Yanıt

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

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

See Qweb reference

Avatar
Vazgeç
En İyi Yanıt

Thanks for the help :)


Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Kas 15
4521
0
Oca 25
3910
4
Oca 25
44736
0
Eki 24
1564
0
Eki 24
5