Skip to Content
Menú
This question has been flagged
1 Respondre
2018 Vistes

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

Hi,

Try this code:

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


Thanks

Avatar
Descartar

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

Related Posts Respostes Vistes Activitat
3
d’ag. 24
3182
1
de març 24
1416
0
de maig 23
2090
2
de maig 23
2476
0
de gen. 23
2121