跳至内容
菜单
此问题已终结
2 回复
3645 查看

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

形象
丢弃
最佳答案

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

 

形象
丢弃
编写者 最佳答案

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!

形象
丢弃