[FIX] survey: bug while recording comments

This commit is contained in:
Richard Mathot 2014-07-01 15:37:27 +02:00
parent 7721ddc7ad
commit 14fae54863
1 changed files with 1 additions and 1 deletions

View File

@ -1140,7 +1140,7 @@ class survey_user_input_line(osv.Model):
comment_answer = post.pop(("%s_%s" % (answer_tag, 'comment')), '').strip()
if comment_answer:
vals.update({'answer_type': 'text', 'value_text': comment_answer})
vals.update({'answer_type': 'text', 'value_text': comment_answer, 'skipped': False})
self.create(cr, uid, vals, context=context)
return True