From c3e234ef21c92ec8e709018d0870e7e181d3fdc9 Mon Sep 17 00:00:00 2001 From: "Richard Mathot (OpenERP)" Date: Thu, 19 Dec 2013 09:49:00 +0100 Subject: [PATCH] [FIX] validate_matrix did not return anything while the matrix was valid; now, it returns {} like other validation functions bzr revid: rim@openerp.com-20131219084900-s6gwmlum3cbt464r --- addons/survey/survey.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/survey/survey.py b/addons/survey/survey.py index 197ad2dcbb4..ab901a3efce 100644 --- a/addons/survey/survey.py +++ b/addons/survey/survey.py @@ -725,7 +725,7 @@ class survey_question(osv.osv): errors.update({answer_tag: question.constr_error_msg}) else: pass # Everything is okay - return errors + return errors class survey_label(osv.osv):