From bfacf1c640896e8a63672921653bd2ab1d759564 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Thu, 21 Jun 2018 16:10:02 +0200 Subject: [PATCH] Include not modified values when sending wizard form data issue7527 review60261002 --- proteus/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/proteus/__init__.py b/proteus/__init__.py index 3ce710b729..03f874ff2b 100644 --- a/proteus/__init__.py +++ b/proteus/__init__.py @@ -1172,11 +1172,7 @@ class Wizard(object): ctx['action_id'] = None if self.form: - # Filter only modified values - data = {self.form_state: - dict((k, v) for k, v in - self.form._get_on_change_values().iteritems() - if k in self.form._values)} + data = {self.form_state: self.form._get_on_change_values()} else: data = {}