[FIX] correctly calls the parent of the graph view in the constructor (now, the view manager gets the correct view_id) (graph view, addon web_graph)

bzr revid: ged@openerp.com-20131226161457-a4k3iflz61fiaqj4
This commit is contained in:
Gery Debongnie 2013-12-26 17:14:57 +01:00
parent c44786804d
commit e1e676d737
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ instance.web_graph.GraphView = instance.web.View.extend({
view_type: 'graph',
init: function(parent, dataset, view_id, options) {
this._super(parent);
this._super(parent, dataset, view_id, options);
this.dataset = dataset;
this.model = new instance.web.Model(dataset.model, {group_by_no_leaf: true});
this.search_view = parent.searchview;