From 7650d15b1703797159273486494f00a3e11d3eb5 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Fri, 19 Dec 2008 18:05:25 +0100 Subject: [PATCH] [FIX] bad query causing the reports to not be registered lp bug: https://launchpad.net/bugs/309713 fixed bzr revid: christophe@cobalt-20081219170525-szctdyjqqipmatwt --- bin/report/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/report/interface.py b/bin/report/interface.py index 8b303e473aa..57e42a8f7d5 100644 --- a/bin/report/interface.py +++ b/bin/report/interface.py @@ -212,7 +212,7 @@ from report_sxw import report_sxw def register_all(db): opj = os.path.join cr = db.cursor() - cr.execute("SELECT * FROM ir_act_report_xml WHERE auto ORDER BY id") + cr.execute("SELECT * FROM ir_act_report_xml WHERE auto=%s ORDER BY id", (True,)) result = cr.dictfetchall() cr.close() for r in result: