From 6e9014a8794ca23e457bf69642e695cbe5ae337c Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 17 Mar 2011 15:22:20 +0100 Subject: [PATCH] [IMP] display all of error.data on RPC error by default, don't display the error object itself bzr revid: xmo@openerp.com-20110317142220-ypr1lvhla6zawydv --- addons/base/static/openerp/js/base_chrome.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/base/static/openerp/js/base_chrome.js b/addons/base/static/openerp/js/base_chrome.js index 3cb6f2f3c89..9a3247b682e 100644 --- a/addons/base/static/openerp/js/base_chrome.js +++ b/addons/base/static/openerp/js/base_chrome.js @@ -197,7 +197,7 @@ openerp.base.Session = openerp.base.BasicController.extend({ }, on_rpc_error: function(error) { // TODO this should use the $element with focus and button is displaying OPW etc... - this.on_log(error, error.message, error.data.type, error.data.debug); + this.on_log(error.message, error.data); }, on_session_invalid: function(contination) { },