From a54a3d73c58cbed96c07b30fab61a41db2c57376 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Tue, 22 May 2012 16:48:27 +0200 Subject: [PATCH] [FIX] incorrect initialization of the DataGroup leading to a read_group being performed with nonsensical arguments, blowing up the listview on page reload bzr revid: xmo@openerp.com-20120522144827-2ge9063bz8duwnnf --- addons/web/static/src/js/view_list.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js index e1d2e4326cc..67c8ce0239e 100644 --- a/addons/web/static/src/js/view_list.js +++ b/addons/web/static/src/js/view_list.js @@ -69,8 +69,7 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi this.groups.datagroup = new instance.web.DataGroup( this, this.model, dataset.get_domain(), - dataset.get_context(), - {}); + dataset.get_context()); this.groups.datagroup.sort = this.dataset._sort; }