[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user