콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
10639 화면

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

아바타
취소

I look also for this feature

베스트 답변

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

아바타
취소
베스트 답변

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.

 

 

아바타
취소
베스트 답변

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.

아바타
취소
관련 게시물 답글 화면 활동
2
2월 23
2923
1
5월 16
3800
2
4월 16
4509
2
7월 24
2099
TAX 15% 해결 완료
1
4월 24
2918