Odoo Help

0

[CRM | Opportunities] Displaying 200.000,00€ as 200k€ ?

By
Eric Geens
on 7/26/14, 7:21 AM 1,037 views

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 !

0


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

0
Michael St-Georges
On 7/26/14, 3:25 PM

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 7/26/14, 7:21 AM
Seen: 1037 times
Last updated: 3/29/15, 12:26 PM