Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2125 Vizualizări

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>


Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

Try this code:

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


Thanks

Imagine profil
Abandonează

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

Related Posts Răspunsuri Vizualizări Activitate
3
aug. 24
3356
1
mar. 24
1539
0
mai 23
2184
2
mai 23
2573
0
ian. 23
2217