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

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
3344
1
3月 24
1517
0
5月 23
2169
2
5月 23
2572
0
1月 23
2217