summaryrefslogtreecommitdiff
path: root/addons/base_module_quality/speed_test
diff options
context:
space:
mode:
Diffstat (limited to 'addons/base_module_quality/speed_test')
-rw-r--r--addons/base_module_quality/speed_test/speed_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/base_module_quality/speed_test/speed_test.py b/addons/base_module_quality/speed_test/speed_test.py
index f3d802451f4..5b78b5e096f 100644
--- a/addons/base_module_quality/speed_test/speed_test.py
+++ b/addons/base_module_quality/speed_test/speed_test.py
@@ -61,7 +61,7 @@ This test checks the speed of the module. Note that at least 5 demo data is need
# remove osv_memory class becaz it does not have demo data
if obj_list:
- cr.execute("select w.res_model from ir_actions_todo as t left join ir_act_window as w on t.action_id=w.id where w.res_model =ANY(%s)",(obj_list,))
+ cr.execute("select w.res_model from ir_actions_todo as t left join ir_act_window as w on t.action_id=w.id where w.res_model IN %s",(tuple(obj_list),))
res = cr.fetchall()
print res
for remove_obj in res: