Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2022 Zobrazení

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
Zrušit
Nejlepší odpověď

Hi,

Try this code:

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


Thanks

Avatar
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
3
srp 24
3194
1
bře 24
1424
0
kvě 23
2090
2
kvě 23
2476
0
led 23
2124