Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
4996 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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

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

Câu trả lời hay nhất

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



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
5759
13
thg 9 24
47354
1
thg 10 15
4399
1
thg 8 25
4624
0
thg 12 24
9717