跳至内容
菜单
此问题已终结
1 回复
2112 查看

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
3336
1
3月 24
1509
0
5月 23
2165
2
5月 23
2569
0
1月 23
2212