İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1511 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
5
Tem 25
422
0
Oca 24
1589
0
Oca 24
1275
0
Şub 22
2482
2
Eyl 16
10102