Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4958 Widoki


In native reports, it’s possible to change the format of the values ​​from 12340,56 to $ 12.340,56

Awatar
Odrzuć
Najlepsza odpowiedź

Hi, 

In PDF , qweb you can use widget,

<span t-esc="o.amount or 0.00" t-options="{'widget': 'monetary'}"/> 

In xls, you can access the symbol of your currency,

sheet.write(row, col, self.env.user.company_id.currency_id.symbol, Style.normal_right())


Awatar
Odrzuć
Najlepsza odpowiedź

You should use the monetary widget, look at the native reports to see how it is done.

Awatar
Odrzuć