diff --git a/addons/survey/survey.py b/addons/survey/survey.py index e36d0c59670..f3f44d57c00 100644 --- 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']: