Skip to Content
Menu
This question has been flagged
4 Replies
4899 Views

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

Avatar
Discard

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

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

Best Answer

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



Avatar
Discard
Related Posts Replies Views Activity
1
Mar 15
5657
13
Sep 24
47084
1
Oct 15
4204
0
Dec 24
9449
3
Sep 24
21600