Space as thousands separator does not show on reports
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
the current code deletes all spaces from floats in reports. This was reported ages ago in #615403 but never fixed. The fix is extremely simple there is no reason not too fix it.
Here is a diff of the fix to the bug (we just need to remove the code that removes the white space)
=== modified file 'openerp/
--- openerp/
+++ openerp/
@@ -214,11 +214,6 @@
- while seps:
- sp = formatted.find(' ')
- if sp == -1: break
- formatted = formatted[:sp] + formatted[sp+1:]
- seps -= 1
elif percent[-1] in 'diu':
if grouping:
Related branches
- Naresh(OpenERP): Pending requested
-
Diff: 15 lines (+0/-5)1 file modifiedopenerp/addons/base/res/res_lang.py (+0/-5)
- Naresh(OpenERP) (community): Needs Information
-
Diff: 15 lines (+0/-5)1 file modifiedbin/tools/user_locale_format.py (+0/-5)
Changed in openobject-server: | |
assignee: | OpenERP's Framework R&D (openerp-dev-framework) → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-server: | |
status: | Confirmed → In Progress |
Hello Rapheal,
I have completely checked your issue but fortunately all are working fine at my end.
I have set a separator format as a [3,2,-1] and thousand separator as a ',' which is generic way.
Now as per your issue I have changed the thousand separator as a ' ' and tried to print a report then again It takes a thousand separator as a ',' which is fine.
Would you please see attached a video and notify us where you faced the problem or may I did something wrong.
Thanks and waiting for your reply!