コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4589 ビュー

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.

関連投稿 返信 ビュー 活動
2
7月 20
7833
2
9月 16
3284
4
3月 16
5737
0
5月 15
164
1
3月 15
6832