[FIX] correctly save group_by context key when saving a search to a dashboard
bzr revid: xmo@openerp.com-20120518094443-boszrcvibitbrozf
This commit is contained in:
@@ -310,6 +310,9 @@ openerp.web.SearchView = openerp.web.OldWidget.extend(/** @lends openerp.web.Sea
|
||||
_.each(data.contexts, function(x) {
|
||||
context.add(x);
|
||||
});
|
||||
context.add({
|
||||
group_by: _(data.groupbys).pluck('group_by')
|
||||
});
|
||||
_.each(data.domains, function(x) {
|
||||
domain.add(x);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user