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

How can i get value of field amount in my report?

I did this code in report but it return 0.0 in amount!

    

<t t-foreach="o.other_alw_ids" t-as="alw">
 
<span t-esc="alw\.alw_id\.name\"/\>
\ \ \<span\ t\-esc=\"alw.alw_id.amount"/>
 
</t>


アバター
破棄
最善の回答

Hi,

Try this code:

<tr t-foreach="o.other_alw_ids" t-as="alw">
<span t-esc="alw.amount"/>
tr>


Thanks

アバター
破棄

<tr t-foreach="o.other_alw_ids" t-as="alw">
<span t-esc="alw.amount"/>
</tr>

関連投稿 返信 ビュー 活動
3
8月 24
3381
1
3月 24
1569
0
5月 23
2204
2
5月 23
2585
0
1月 23
2221