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

Hi,

I've set up the thousands separator in the language options.

Everything is fine except for the printed version of the reports (quotations, invoices) : the thousands separator are not there. Should I change something in the report ?

For information here is my configuration about the number format

  • Separator format : [3,0]
  • Decimal Separator : .
  • Thousands Separator : ,

Thanks for your help,

Cheers

Avatar
Cancelar

I look also for this feature

Melhor resposta

Is there a way to show thousand separators in the qweb report?

Avatar
Cancelar
Melhor resposta

If you are using Webkit template engine you need to refer to the language format in the mako file.

For example for a Quotation Order, the line order unit price will be:

${formatLang(line.price_unit)}

For RML reports I don't know the way to do that.

 

 

Avatar
Cancelar
Melhor resposta

Guys,

formatLang() is core report engine functionality of OpenERP and webkit is also overriding the core reporting engine. So it will work for sure.

Depending on the length of your number, you should use the seperator. Try with [3,3,-1] format.

Thanks.

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
fev. 23
2717
1
mai. 16
3617
2
abr. 16
4281
2
jul. 24
1917
TAX 15% Resolvido
1
abr. 24
2715