[FIX] crm_profiling: query parameter

bzr revid: chs@openerp.com-20100618082836-wd3ej6tobx5ukj2z
This commit is contained in:
Christophe Simonis 2010-06-18 10:28:36 +02:00
parent e13bb3c98c
commit 5b6099b05f
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def _get_answers(cr, uid, ids):
from profile_question_yes_rel
where profile IN %s"""
cr.execute(query, (ids,))
cr.execute(query, (tuple(ids),))
ans_yes = [x[0] for x in cr.fetchall()]
query = """