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>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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>
Hi,
Try this code:
<tr t-foreach="o.other_alw_ids" t-as="alw">
<span t-esc="alw.amount"/>
tr>
Thanks
<tr t-foreach="o.other_alw_ids" t-as="alw">
<span t-esc="alw.amount"/>
</tr>
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicaçõ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 |