Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5014 Lượt xem


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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ