diff --git a/tryton/gui/window/wizard.py b/tryton/gui/window/wizard.py index d57dc4d79b..b18a2e5666 100644 --- a/tryton/gui/window/wizard.py +++ b/tryton/gui/window/wizard.py @@ -82,8 +82,9 @@ class Wizard(object): result = RPCExecute('wizard', self.action, 'execute', self.session_id, data, self.state, context=ctx) except RPCException, rpc_exception: - if not isinstance(rpc_exception.exception, - TrytonServerError): + if (not isinstance(rpc_exception.exception, + TrytonServerError) + or not self.screen): self.state = self.end_state break