0

我有一个自定义报告,但没有显示货币符号。这可能有什么问题:

<span t-esc="grand_total" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
4

1 回答 1

0

您应该使用发票对象中的货币。将 t-esc 更改为 t-field。只添加 t-field="grand_total" 会看到什么?

<span t-field="grand_total" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/>
于 2018-10-31T12:49:07.953 回答