Skip to Content
Menu
This question has been flagged
1 Reply
2037 Views

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>


Avatar
Discard
Best Answer

Hi,

Try this code:

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


Thanks

Avatar
Discard

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

Related Posts Replies Views Activity
3
Aug 24
3229
1
Mar 24
1437
0
May 23
2104
2
May 23
2489
0
Jan 23
2130