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>
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
3
8月 24
|
3336 | ||
|
1
3月 24
|
1509 | ||
|
0
5月 23
|
2165 | ||
|
2
5月 23
|
2569 | ||
|
0
1月 23
|
2212 |