Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1418 Переглядів

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}"/>
Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
5
лип. 25
289
0
січ. 24
1524
0
січ. 24
1227
0
лют. 22
2441
2
вер. 16
10038