Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
20217 Tampilan

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
Buang
Jawaban Terbai

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

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

See Qweb reference

Avatar
Buang
Jawaban Terbai

Thanks for the help :)


Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Nov 15
4420
0
Jan 25
3800
4
Jan 25
44379
0
Okt 24
1384
0
Okt 24
5