Skip to Content
Menu
This question has been flagged
1 Atsakyti
1402 Rodiniai

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}"/>
Portretas
Atmesti
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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
5
liep. 25
276
0
saus. 24
1518
0
saus. 24
1218
0
vas. 22
2440
2
rugs. 16
10028