From e4a99a044c6b3f1f5e86a65c76c3ec27dba1d49d Mon Sep 17 00:00:00 2001 From: msh-openerp Date: Thu, 28 Jun 2012 15:19:13 +0530 Subject: [PATCH] [FIX]Fixed the issue of on_rpc_error in kanban view, if we have raised the exception from addons on state change still we will not be able to see the CrashManager and instead of it we will have an static message that error while changing the state... bzr revid: msh@tinyerp.com-20120628094913-es9hgfl51e6x21f9 --- addons/web_kanban/static/src/js/kanban.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index d04622b7058..9eeb47f15e7 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -236,8 +236,6 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({ record.do_reload(); new_group.do_save_sequences(); }).fail(function(error, evt) { - evt.preventDefault(); - alert("An error has occured while moving the record to this group."); self.do_reload(); // TODO: use draggable + sortable in order to cancel the dragging when the rcp fails }); }