diff --git a/tryton/tryton/gui/window/wizard.py b/tryton/tryton/gui/window/wizard.py index f399eeac63..06389d0411 100644 --- a/tryton/tryton/gui/window/wizard.py +++ b/tryton/tryton/gui/window/wizard.py @@ -396,6 +396,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