[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:
@@ -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
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user