Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
20383 มุมมอง

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 

 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

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

See Qweb reference

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Thanks for the help :)


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ย. 15
4532
0
ม.ค. 25
3922
4
ม.ค. 25
44839
0
ต.ค. 24
1645
0
ต.ค. 24
5