To try exceptions on the runbot, simply go to Tests > Tests Exceptions and click some buttons.
-- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Server. https://bugs.launchpad.net/bugs/1146256 Title: Osv and orm exception generated the traceback instead of pop-up Status in OpenERP Server: Confirmed Bug description: Hello, I have tested this in following revision of trunk: Build - 5238 server - 4815 addons - 8592 web - 3692 When any kind of osv or orm exception is raised it give us a traceback as follow: 1. Example of orm_exception: Go to customer Payments, and create a record. Then try to do customer invoice payment. You will get following Traceback: self._validate(cr, user, [id_new], context) File "/home/odoo/runbot/static/openerp-dev-trunk-5238/server/openerp/osv/orm.py", line 1541, in _validate raise except_orm('ValidateError', '\n'.join(error_msgs)) TypeError: __init__() takes exactly 3 arguments (2 given) 2. Example of osv_exeption : Go to supplier invoice and give the wrong amount on verification total and try to validate it,you will get following Traceback: raise osv.except_osv(_('Bad total !'), _('Please verify the price of the invoice !\nThe encoded total does not match the computed total.')) TypeError: __init__() takes exactly 3 arguments (2 given) To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-server/+bug/1146256/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

