diff --git a/addons/base/static/src/js/list.js b/addons/base/static/src/js/list.js index fef509ce9b3..2fd4aff2e1c 100644 --- a/addons/base/static/src/js/list.js +++ b/addons/base/static/src/js/list.js @@ -1,5 +1,4 @@ openerp.base.list = function (openerp) { -'use strict'; openerp.base.views.add('list', 'openerp.base.ListView'); openerp.base.ListView = openerp.base.View.extend( /** @lends openerp.base.ListView# */ { defaults: { @@ -868,6 +867,7 @@ openerp.base.ListView.Groups = Class.extend( /** @lends openerp.base.ListView.Gr _(this.children).each(function (child) { child.apoptosis(); }); + this.children = {}; $(this.elements).remove(); return this; },