[6.1] Graph view group-by does not work with non-english characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
Open any model graph view and select group-by option so that the graph has names with non-english characters assignes to x-axis . You expect to see correct values corresponding to each x-point, but if the name contains non-english characters, its y-value will be zero. First time I've noticed it with hr_attendance_
To avoid this we can substitute line in web_graph/
groupval = value.toLowerCa
by
groupval = URLify(value);
where URLify function transliterates non-english characters. In a branch linked to this bug I've changed two lines in graph.js and added URLify.js file. All names on the graph are still correct, but inside js and dhtmlx these names are transliterated and all values are calculated successfully.
Related branches
summary: |
- Graph view group-by does not work with non-english characters + [6.1] Graph view group-by does not work with non-english characters |
Changed in openerp-web: | |
status: | Incomplete → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
Hello Pavel,
I have checked your Issue with latest revision 6.1 (Build 5243). But It's seems ok. That's why I have attached screen capture for your reference. would you please check it and test again.
Correct me If I am wrong!
Thanks and waiting for your reply!