diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js index 7499b812361..713d5ea0b2f 100644 --- a/addons/web/static/src/js/view_list.js +++ b/addons/web/static/src/js/view_list.js @@ -463,7 +463,7 @@ openerp.web.ListView = openerp.web.View.extend( /** @lends openerp.web.ListView# * @param {Array} ids the ids of the records to delete */ do_delete: function (ids) { - if (!ids.length) { + if (!ids.length || !confirm(" Are you sure to remove those records ?")) { return; } var self = this;