summaryrefslogtreecommitdiff
path: root/bin/report/interface.py
diff options
context:
space:
mode:
authorChristophe Simonis <christophe@cobalt>2008-12-19 18:05:25 +0100
committerChristophe Simonis <christophe@cobalt>2008-12-19 18:05:25 +0100
commit7650d15b1703797159273486494f00a3e11d3eb5 (patch)
treed6d06e8b12f1d5fb8961dcf2bc853a3a17b000b3 /bin/report/interface.py
parent5d39d9adc2cc88b3e8e84500e77536304861683f (diff)
[FIX] bad query causing the reports to not be registered
lp bug: https://launchpad.net/bugs/309713 fixed bzr revid: christophe@cobalt-20081219170525-szctdyjqqipmatwt
Diffstat (limited to 'bin/report/interface.py')
-rw-r--r--bin/report/interface.py2
1 files changed, 1 insertions, 1 deletions
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: