[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:
parent
5d39d9adc2
commit
7650d15b17
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue