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

Hi,

That are my settings : Decimal Separator "," ,Thousand Separator "." ,Direction: Right-to-Left. Decimal account digits 0, rounded = 1. with Separator Format [3,0] or [3,3,3], lang is spanish_cl

In both cases only appears 3 digits when type amount (debit or credit). Is a bug or i have a mistake definition?

Regards

形象
丢弃

What do you exactly want to do? Can you give examples?

Show us your configuration and the problem on your report, something to see.

最佳答案

Is a Bug.

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



形象
丢弃
相关帖文 回复 查看 活动
1
3月 15
5745
13
9月 24
47280
1
10月 15
4323
1
8月 25
4479
0
12月 24
9680