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
|
4314 | |||
|
1
3월 24
|
2533 | |||
|
0
5월 23
|
2995 | |||
|
2
5월 23
|
3263 | |||
|
0
1월 23
|
2944 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.