From 6be08e18082d66aa55f6b0eaf5fb042b3ead03dd Mon Sep 17 00:00:00 2001 From: "YSA(Open ERP)" <> Date: Fri, 26 Jun 2009 20:09:47 +0530 Subject: [PATCH] [FIX] Custom report : sorted X-axis values lp bug: https://launchpad.net/bugs/390167 fixed bzr revid: jvo@tinyerp.com-20090626143947-ej0m0jh7jn2fambz --- bin/report/custom.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/report/custom.py b/bin/report/custom.py index f7ff8996875..4c0c9b1ece0 100644 --- a/bin/report/custom.py +++ b/bin/report/custom.py @@ -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)