Fix warning handling in wizards
This commit is contained in:
1 parent
019848a90b
commit
851fba598a
2 files changed
+8
-5
No files matched your search
@@ -1,3 +1,4 @@
|
||||
* Fix warning in wizards
|
||||
* Added possibility to use server-side icons
|
||||
* Added additional gtk.Entry for filename on BinaryField
|
||||
* Display deleted lines in One2Many and Many2Many
|
||||
|
||||
@@ -188,11 +188,13 @@ class Wizard(object):
|
||||
res = rpcprogress.run()
|
||||
exception = None
|
||||
except Exception, exception:
|
||||
common.process_exception(exception, parent)
|
||||
# Continue by running previous result except if access to
|
||||
# wizard is denied
|
||||
if exception.args[0] == 'AccessDenied':
|
||||
break
|
||||
if common.process_exception(exception, parent):
|
||||
continue
|
||||
else:
|
||||
# Continue by running previous result except if access to
|
||||
# wizard is denied
|
||||
if exception.args[0] == 'AccessDenied':
|
||||
break
|
||||
if not res:
|
||||
if dia:
|
||||
res = {'type': 'form'}
|
||||
|
||||
Reference in new issue
Block a user