Stop wizard on TrytonServerError if there is no screen
issue2569 review347001
This commit is contained in:
1 parent
410d5b016d
commit
4ba40c7171
1 file changed
+3
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user