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>
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
3
Agu 24
|
3335 | ||
|
1
Mar 24
|
1506 | ||
|
0
Mei 23
|
2154 | ||
|
2
Mei 23
|
2565 | ||
|
0
Jan 23
|
2189 |