summaryrefslogtreecommitdiff
path: root/ishtar_common/wizards.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r--ishtar_common/wizards.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py
index c8467ca61..c065459f6 100644
--- a/ishtar_common/wizards.py
+++ b/ishtar_common/wizards.py
@@ -553,6 +553,7 @@ class Wizard(NamedUrlWizardView):
getattr(obj, k).add(adds[k])
# necessary to manage interaction between models like
# material_index management for baseitems
+ obj._cached_label_checked = False
obj.save()
m2m_items = {}
# clear
@@ -618,6 +619,7 @@ class Wizard(NamedUrlWizardView):
related_model.add(value)
# necessary to manage interaction between models like
# material_index management for baseitems
+ obj._cached_label_checked = False
obj.save()
# make the new object a default
if self.current_obj_slug:
@@ -715,7 +717,7 @@ class Wizard(NamedUrlWizardView):
# and self.form_initialized:
# for k in init[0]:
# data[step + '-' + unicode(total_field) + '-' + k] = \
- # init[0][k]
+ # init[0][k]
data = data or None
form = super(Wizard, self).get_form(step, data, files)