← Back to team overview

openerp-india team mailing list archive

[Bug 1294088] [NEW] thousand separator doesn't work on reports

 

Public bug reported:

Hi every body

from launguage form, in the separator input, make [3,3,-1]

On the system all amount are shown well 10000 => 10 000 with whitespace
separator

On report, all of this doesn't work, and the reason is the bloc :

            while seps:
                sp = formatted.find(' ')
                if sp == -1: break
                formatted = formatted[:sp] + formatted[sp+1:]
                seps -= 1

this bloc, has no meaning, we separate the amount and this bloc come to
remove separator, and the problem is that the varaible seps is given
with the separator, this bloc has to be removed

File : res_lang  Function : def format(....    Line : 214

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: report separator thousand

** Summary changed:

- thousand separator doesn't word on reports
+ thousand separator doesn't work on reports

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1294088

Title:
  thousand separator doesn't work on reports

Status in OpenERP Addons (modules):
  New

Bug description:
  Hi every body

  from launguage form, in the separator input, make [3,3,-1]

  On the system all amount are shown well 10000 => 10 000 with
  whitespace separator

  On report, all of this doesn't work, and the reason is the bloc :

              while seps:
                  sp = formatted.find(' ')
                  if sp == -1: break
                  formatted = formatted[:sp] + formatted[sp+1:]
                  seps -= 1

  this bloc, has no meaning, we separate the amount and this bloc come
  to remove separator, and the problem is that the varaible seps is
  given with the separator, this bloc has to be removed

  File : res_lang  Function : def format(....    Line : 214

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1294088/+subscriptions


Follow ups

References