[FIX] Custom report : sorted X-axis values
lp bug: https://launchpad.net/bugs/390167 fixed bzr revid: jvo@tinyerp.com-20090626143947-ej0m0jh7jn2fambz
This commit is contained in:
parent
e6f4c4fb2b
commit
6be08e1808
|
@ -554,6 +554,7 @@ class report_custom(report_int):
|
|||
abscissa.update(fields_bar[idx])
|
||||
idx0 += 1
|
||||
abscissa = map(lambda x : [x, None], abscissa)
|
||||
abscissa.sort()
|
||||
ar.x_coord = category_coord.T(abscissa,0)
|
||||
ar.draw(can)
|
||||
|
||||
|
|
Loading…
Reference in New Issue