[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
This commit is contained in:
msh-openerp
2012-06-28 15:19:13 +05:30
parent 8d311a136a
commit e4a99a044c
@@ -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
});
}