Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4 Respostas
5003 Visualizações

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
Cancelar

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

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

Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mar. 15
5768
13
set. 24
47371
1
out. 15
4412
1
ago. 25
4682
0
dez. 24
9733