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

Get Decimal (Thousands) Separator Value Using different languages

By
Olga Klochkova
on 6/12/14, 4:10 PM 687 views

Hello!

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

1

Bole

--Bole--
2385
| 5 4 6
Zagreb | Karlovac, Croatia
--Bole--

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

Bole
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... 

 

0
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!

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: 6/12/14, 4:10 PM
Seen: 687 times
Last updated: 3/16/15, 8:10 AM