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:
287ea2f
)
[FIX] survey: in prepare_result, result_summary variable could be returned without...
author
Thibault Delavallée
<tde@openerp.com>
Wed, 27 Aug 2014 12:59:03 +0000
(14:59 +0200)
committer
Thibault Delavallée
<tde@openerp.com>
Thu, 28 Aug 2014 10:42:09 +0000
(12:42 +0200)
addons/survey/survey.py
patch
|
blob
|
history
diff --git
a/addons/survey/survey.py
b/addons/survey/survey.py
index
e36d0c5
..
f3f44d5
100644
(file)
--- a/
addons/survey/survey.py
+++ b/
addons/survey/survey.py
@@
-347,6
+347,7
@@
class survey_survey(osv.Model):
''' Compute statistical data for questions by counting number of vote per choice on basis of filter '''
current_filters = current_filters if current_filters else []
context = context if context else {}
+ result_summary = {}
#Calculate and return statistics for choice
if question.type in ['simple_choice', 'multiple_choice']: