[6.1/trunk] regression: raise osv.except_osv messages always show a stacktrace/OPW crap while a simple warning popup is expected
Bug #884264 reported by
Raphaël Valyi - http://www.akretion.com
This bug report is a duplicate of:
Bug #869936: _sql_constraints and _constraints exceptions open an application error window.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
when we use raise osv.except_osv in the code, we expect a warning popup to be displayed, not like if it was some un-caught exception.
For instance, try to delete a confirmed sale order. In the web-client you simply get a proper warning that the order should be cancelled first, while in the GTK client you get the infamous popup of the hell.
See attached screenshot showing the two cases.
Hope this helps.
To post a comment you must log in.
Hello Raphael Valyi,
Exception handling, in trunk has been changed. It seems the work has been done correctly for XMLRPC but not for NETRPC.
A bug has already been reported thus I would mark it as a duplicate of it.'
Thanks for reporting !
Regards,