[FIX] bad query causing the reports to not be registered

lp bug: https://launchpad.net/bugs/309713 fixed

bzr revid: christophe@cobalt-20081219170525-szctdyjqqipmatwt
This commit is contained in:
Christophe Simonis
2008-12-19 18:05:25 +01:00
parent 5d39d9adc2
commit 7650d15b17
+1 -1
View File
@@ -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: