コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
20372 ビュー

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
4525
0
1月 25
3920
4
1月 25
44814
0
10月 24
1631
0
10月 24
5