← Back to team overview

openerp-india team mailing list archive

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

 

** Also affects: openobject-server
   Importance: Undecided
       Status: New

-- 
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
Status in OpenERP Server:
  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


References