跳至內容
選單
此問題已被標幟
3 回覆
20348 瀏覽次數

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 :)


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
11月 15
4516
0
1月 25
3907
4
1月 25
44699
0
10月 24
1538
0
10月 24
5