Rifakat (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-client/6.1-opw-575181-rha into 
lp:openobject-client/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)
Related bugs:
  Bug #966083 in OpenERP Server: "Space as thousands separator does not show on 
reports"
  https://bugs.launchpad.net/openobject-server/+bug/966083

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client/6.1-opw-575181-rha/+merge/107921

Hello,

When we have a language configured with thousand separator as white space then 
GTK
client should take care of the thousand separator as ' '.

Float values are correctly displayed whith white space in web client, but gtk 
doesn't.

Thanks for your review.

Regards,
Rifakat Haradwala
-- 
https://code.launchpad.net/~openerp-dev/openobject-client/6.1-opw-575181-rha/+merge/107921
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-client/6.1-opw-575181-rha.
=== modified file 'bin/tools/user_locale_format.py'
--- bin/tools/user_locale_format.py	2011-11-22 09:03:26 +0000
+++ bin/tools/user_locale_format.py	2012-05-30 07:26:18 +0000
@@ -186,11 +186,6 @@
             parts[0], seps = group(parts[0], monetary=monetary, grouping=lang_grouping, thousands_sep=thousands_sep)
 
         formatted = decimal_point.join(parts)
-        while seps:
-            sp = formatted.find(' ')
-            if sp == -1: break
-            formatted = formatted[:sp] + formatted[sp+1:]
-            seps -= 1
     elif percent[-1] in 'diu':
         if grouping:
             formatted = group(formatted, monetary=monetary, grouping=lang_grouping, thousands_sep=thousands_sep)[0]

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to