From: Gery Debongnie Date: Thu, 26 Dec 2013 16:14:57 +0000 (+0100) Subject: [FIX] correctly calls the parent of the graph view in the constructor (now, the view... X-Git-Tag: InsPy_master01~620^2~81 X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=e1e676d737a2f682ed6a106e99b63a4dd377c5d5;hp=c44786804d289f768606c29f1dd48451370f0e32;p=odoo%2Fodoo.git [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 --- diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index b56a2cd..9806e70 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -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;