Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2143 Visualizações

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
Cancelar
Melhor resposta

Hi,

Try this code:

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


Thanks

Avatar
Cancelar

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

Publicações relacionadas Respostas Visualizações Atividade
3
ago. 24
3387
1
mar. 24
1574
0
mai. 23
2204
2
mai. 23
2585
0
jan. 23
2222