diff --git a/tryton/tryton/gui/window/wizard.py b/tryton/tryton/gui/window/wizard.py index fbd258d3ce..a23b4c7518 100644 --- a/tryton/tryton/gui/window/wizard.py +++ b/tryton/tryton/gui/window/wizard.py @@ -402,6 +402,8 @@ class WizardDialog(Wizard, NoModal): return True def show(self): + if not self.screen: + return view = self.screen.current_view if view.view_type == 'form': expand = False