[FIX] crm_profiling: query parameter
bzr revid: chs@openerp.com-20100618082836-wd3ej6tobx5ukj2z
This commit is contained in:
parent
e13bb3c98c
commit
5b6099b05f
|
@ -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 = """
|
||||
|
|
Loading…
Reference in New Issue