Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
1440 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
5
jul. 25
309
0
jan. 24
1543
0
jan. 24
1239
0
feb. 22
2447
2
sep. 16
10051