From 9fcac4fa62204617f9459aa3bcb5f5152741c930 Mon Sep 17 00:00:00 2001 From: Arnaud Pineux Date: Mon, 10 Dec 2012 16:28:33 +0100 Subject: [PATCH] [FIX] Survey lp bug: https://launchpad.net/bugs/1052079 fixed bzr revid: api@openerp.com-20121210152833-6waodc9cj1ffq8ye --- addons/survey/wizard/survey_answer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/survey/wizard/survey_answer.py b/addons/survey/wizard/survey_answer.py index a1b17a76c29..a65154f00f5 100644 --- a/addons/survey/wizard/survey_answer.py +++ b/addons/survey/wizard/survey_answer.py @@ -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: