Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2096 Tampilan

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
Buang
Jawaban Terbai

Hi,

Try this code:

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


Thanks

Avatar
Buang

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

Post Terkait Replies Tampilan Aktivitas
3
Agu 24
3335
1
Mar 24
1506
0
Mei 23
2154
2
Mei 23
2565
0
Jan 23
2189