Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
4951 Weergaven


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

Avatar
Annuleer
Beste antwoord

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
Annuleer
Beste antwoord

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

Avatar
Annuleer