跳至內容
選單
此問題已被標幟
2 回覆
4982 瀏覽次數


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

頭像
捨棄
最佳答案

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


頭像
捨棄
最佳答案

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

頭像
捨棄