Odoo Help


Get Decimal (Thousands) Separator Value Using different languages

Olga Klochkova
on 6/12/14, 4:10 PM 1,029 views


How do I get the value of the decimal (or thousands) separator to validate it in javascript, if I have different languages thus different input formats in my OpenERP? Thank you




| 5 4 6
Zagreb | Karlovac, Croatia

there is only 10 kind of people the ones that understand binary ... and others

On 6/27/14, 3:12 AM

Simply go to Settings ->Translations->Languages, end set parameters for desired language.. 
If you do not see Languages menu.. edit admin user and allow him Technical features... 


Olga Klochkova
On 7/4/14, 10:54 AM

Hello! I am sorry that I did not show up after asking the question. I figure it out and forgot. To retreive the value of the decimal separator : var decimalSeparator = _t.database.parameters.decimal_point; for thousands separator : var thousandsSeparator =_t.database.parameters.thousands_sep;

Thank you very much , Bole!

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.


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)


Asked: 6/12/14, 4:10 PM
Seen: 1029 times
Last updated: 3/16/15, 8:10 AM