[FIX] show error messge when we move recored in kanban.

bzr revid: tpa@tinyerp.com-20130816130710-ec5x1k7tn86dejk1
This commit is contained in:
Turkesh Patel (Open ERP) 2013-08-16 18:37:10 +05:30
parent 81e028b791
commit 73ff1e657d
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({
new_group.do_save_sequences();
}).fail(function(error, evt) {
evt.preventDefault();
alert(_t("An error has occured while moving the record to this group: ") + data.message);
alert(_t("An error has occured while moving the record to this group: ") + error.data.message);
self.do_reload(); // TODO: use draggable + sortable in order to cancel the dragging when the rcp fails
});
}