Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1985 Vues

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
Ignorer
Meilleure réponse

Hi,

Try this code:

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


Thanks

Avatar
Ignorer

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

Publications associées Réponses Vues Activité
3
août 24
3120
1
mars 24
1385
0
mai 23
2039
2
mai 23
2448
0
janv. 23
2089