This question has been flagged
1 Reply
3773 Views

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!



Avatar
Discard
Author Best Answer


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

Avatar
Discard

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