Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2019 Prikazi

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
Opusti
Best Answer

Hi,

Try this code:

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


Thanks

Avatar
Opusti

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

Related Posts Odgovori Prikazi Aktivnost
3
avg. 24
3183
1
mar. 24
1417
0
maj 23
2090
2
maj 23
2476
0
jan. 23
2123