Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4963 Zobrazení


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

Avatar
Zrušit
Nejlepší odpověď

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())


Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit