thousand separator doesn't work on reports
Bug #1294088 reported by
Yug Faa
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned | ||
Odoo Server (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
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
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
Changed in openobject-addons: | |
status: | New → In Progress |
status: | In Progress → New |
summary: |
- thousand separator doesn't word on reports + thousand separator doesn't work on reports |
Changed in openobject-addons: | |
assignee: | nobody → Yug Faa (vim6574) |
assignee: | Yug Faa (vim6574) → nobody |
To post a comment you must log in.
Hi Yug,
You should change your your separator for a non-breaking space (unicode 00A0).
It prevents number breaking in views and some reports, and protects you from this bug.