Odoo Help

Welcome!

This community 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.

0

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

By
Eric Geens
on 7/26/14, 7:21 AM 791 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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