[MERGE] with branch bug-1052079

bzr revid: api@openerp.com-20121211162155-bs063uclfem0trhy
This commit is contained in:
Arnaud Pineux 2012-12-11 17:21:55 +01:00
commit 33ae718562
1 changed files with 2 additions and 2 deletions

View File

@ -522,10 +522,10 @@ class survey_question_wiz(osv.osv_memory):
value[field] = ans.value
if que.comment and (field.split('_')[1] == "comment" or field.split('_')[1] == "other"):
value[field] = str(que.comment)
value[field] = tools.ustr(que.comment)
elif que.single_text and field.split('_')[1] == "single":
value[field] = str(que.single_text)
value[field] = tools.ustr(que.single_text)
elif que.response_answer_ids and len(field.split('_')) == 3 and field.split('_')[1] == "selection":
for ans in que.response_answer_ids: