[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
This commit is contained in:
Xavier Morel 2012-05-22 16:48:27 +02:00
parent 09bc1b0d38
commit a54a3d73c5
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}