Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1495 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
5
Jul 25
392
0
Jan 24
1569
0
Jan 24
1261
0
Feb 22
2473
2
Sep 16
10081