projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7721ddc
)
[FIX] survey: bug while recording comments
author
Richard Mathot
<rim@openerp.com>
Tue, 1 Jul 2014 13:37:27 +0000
(15:37 +0200)
committer
Richard Mathot
<rim@openerp.com>
Tue, 1 Jul 2014 13:37:27 +0000
(15:37 +0200)
addons/survey/survey.py
patch
|
blob
|
history
diff --git
a/addons/survey/survey.py
b/addons/survey/survey.py
index
9ccba44
..
3a9145e
100644
(file)
--- a/
addons/survey/survey.py
+++ b/
addons/survey/survey.py
@@
-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