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>
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
3
ago 24
|
3302 | ||
|
1
mar 24
|
1490 | ||
|
0
may 23
|
2147 | ||
|
2
may 23
|
2548 | ||
|
0
ene 23
|
2181 |