Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1407 Prikazi

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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
5
jul. 25
282
0
jan. 24
1519
0
jan. 24
1218
0
feb. 22
2440
2
sep. 16
10029