Reviewers: ,
Please review this at http://codereview.tryton.org/676002/
Affected files:
M tryton/gui/main.py
Index: tryton/gui/main.py
===================================================================
--- a/tryton/gui/main.py
+++ b/tryton/gui/main.py
@@ -335,8 +335,8 @@
try:
result =
RPCExecute('model', 'ir.model', 'global_search',
search_text, CONFIG['client.limit'],
- self.menu_screen.model_name,
process_exception=False)
- except (TrytonError, TrytonServerError):
+ self.menu_screen.model_name)
+ except RPCException:
result = []
if search_text != widget.get_text().decode('utf-8'):
return False
--
--
[email protected] mailing list
---
You received this message because you are subscribed to the Google Groups "tryton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.