[FIX] survey: bug while recording comments
authorRichard Mathot <rim@openerp.com>
Tue, 1 Jul 2014 13:37:27 +0000 (15:37 +0200)
committerRichard Mathot <rim@openerp.com>
Tue, 1 Jul 2014 13:37:27 +0000 (15:37 +0200)
addons/survey/survey.py

index 9ccba44..3a9145e 100644 (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