One of my customers wants to have is numbers displayed per thousands, so not 200.000,00 but 200k. Is there any way of doing this easily ? e.g. Through the Language / locale parameters ?
Thanks for your help !
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
One of my customers wants to have is numbers displayed per thousands, so not 200.000,00 but 200k. Is there any way of doing this easily ? e.g. Through the Language / locale parameters ?
Thanks for your help !
Is a Bug.
Change this file:
addons/web/static/js/formats.js
Find this line in function instance.web.parse_value:
case 'float':
tmp = Number(value);
if (!isNaN(tmp))
return tmp;
and change for this (Coment whit //)
case 'float':
//tmp = Number(value);
//if (!isNaN(tmp))
//return tmp;
is working for us
There are a few ways this could be done. One would be to override a lot of functions to have this kind of effet, another could be to define the currency symbol as k€ and then boost the precision by 3 digits.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Jun 25
|
533 | ||
|
0
Apr 25
|
3 | ||
|
0
Apr 25
|
622 | ||
|
1
Apr 24
|
1586 | ||
|
2
Jan 24
|
1693 |