Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2089 Vistas

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
Mejor respuesta

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>

Publicaciones relacionadas Respuestas Vistas Actividad
3
ago 24
3302
1
mar 24
1490
0
may 23
2147
2
may 23
2548
0
ene 23
2181