[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
6
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.

Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

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,

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.