From ba59db90b9e1326d78778d00fee5d7e850e41fe7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 23 Dec 2016 16:03:43 +0100 Subject: Display warehouse sheet after modification --- archaeological_warehouse/wizards.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'archaeological_warehouse/wizards.py') diff --git a/archaeological_warehouse/wizards.py b/archaeological_warehouse/wizards.py index cfe5be4d4..bdb3959dc 100644 --- a/archaeological_warehouse/wizards.py +++ b/archaeological_warehouse/wizards.py @@ -20,10 +20,11 @@ from django.shortcuts import render_to_response from django.template import RequestContext +from ishtar_common.forms import reverse_lazy from ishtar_common.wizards import Wizard from archaeological_finds.wizards import TreatmentWizard -from archaeological_finds.models import Treatment, TreatmentType +from archaeological_finds.models import Treatment, TreatmentType import models @@ -56,11 +57,13 @@ class PackagingWizard(TreatmentWizard): class WarehouseWizard(Wizard): model = models.Warehouse + wizard_done_window = reverse_lazy('show-warehouse') class WarehouseModificationWizard(Wizard): model = models.Warehouse modification = True + wizard_done_window = reverse_lazy('show-warehouse') class LocalisationWizard(Wizard): -- cgit v1.2.3