Hello, I'm using Odoo11, and need to format a qweb variable in a qweb report (report_saleorder_document).
The variable is a float number and should have the correct Thousands- and Decimal-Separator for the users language.
Example:
<t t-set="my_count" t-value="20000.1938"/>
<span t-esc="my_count"/>
In the report this shows: 20000.1938
but in the users language it should be: 20.000,1938
The Separators are correct set in odoo and work for other variables like product price.
Did you check a default report or view for reference how it is done?