From 1ea890bcc29d742c8b657ce335219e6e4a63b7f0 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 24 May 2016 18:58:01 +0200 Subject: Fix EQUIV fileds on wizard save --- ishtar_common/wizards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/wizards.py') diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index e974942b7..49abe606f 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -510,7 +510,7 @@ class Wizard(NamedUrlWizardView): adds = {} # manage attributes relations if hasattr(self.model, 'ATTRS_EQUIV'): - for k in other_objs: + for k in other_objs.keys(): if k in self.model.ATTRS_EQUIV: new_k = self.model.ATTRS_EQUIV[k] if new_k in other_objs: -- cgit v1.2.3