Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4590 Переглядів

I've rounding on account entries 0

Display in Spanish language is set to: [3,0], Decimal separator ",", thousand separator "."

Rounding factor on the Money (CLP): 1.000000, computational accuracy: 4


During Editing

https://cloud.githubusercontent.com/assets/7548295/5192420/4d5e974c-74c5-11e4-9bda-91adc1f9ff78.PNG

After Editing

https://cloud.githubusercontent.com/assets/7548295/5192421/50dfd08e-74c5-11e4-8043-ca365eee3e76.PNG


417.311 reduces to 417


Please help!



Аватар
Відмінити
Автор Найкраща відповідь


I found the fix

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

Аватар
Відмінити

Thank you, I'll try to 'pass' this. With this info perhaps it will be easiest to write a fix module.

Related Posts Відповіді Переглядів Дія
2
лип. 20
7833
2
вер. 16
3284
4
бер. 16
5737
0
трав. 15
164
1
бер. 15
6832