Skip to Content
मेन्यू
This question has been flagged
1 Reply
1505 Views

I need to add amount field in a qweb report. Both t-field and t-esc have not worked. All currency configurations are ok.  Here is the code:


<span t-esc="o.amount_total" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/>
Avatar
Discard
Best Answer

Hello, 


try:                                           


<span t-field="o.amount_total" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: o.pricelist_id.currency_id}"/>


Best regards

Avatar
Discard
Related Posts Replies Views Activity
5
जुल॰ 25
418
0
जन॰ 24
1587
0
जन॰ 24
1267
0
फ़र॰ 22
2479
2
सित॰ 16
10093