diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2011-07-18 17:29:54 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2011-07-18 17:29:54 +0200 |
| commit | da5f320a0a72c0fa4bcf2a415556f469104402da (patch) | |
| tree | 1a9debd7b7c2d204fa0c17774a7a6152fd9405de /addons/base_graph/static/src | |
| parent | 193fc86c38fb2a3241e16b6afcc79627f4c1886a (diff) | |
| parent | 711b22f52cb4876509abbdc029dd6a1303b474f9 (diff) | |
[merge]
bzr revid: nicolas.vanhoren@openerp.com-20110718152954-1osrwsxmyij4wkun
Diffstat (limited to 'addons/base_graph/static/src')
| -rw-r--r-- | addons/base_graph/static/src/js/graph.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/base_graph/static/src/js/graph.js b/addons/base_graph/static/src/js/graph.js index fdf3585449c..cf4cca20e59 100644 --- a/addons/base_graph/static/src/js/graph.js +++ b/addons/base_graph/static/src/js/graph.js @@ -16,9 +16,9 @@ QWeb.add_template('/base_graph/static/src/xml/base_graph.xml'); openerp.base.views.add('graph', 'openerp.base_graph.GraphView'); openerp.base_graph.GraphView = openerp.base.View.extend({ - init: function(view_manager, session, element_id, dataset, view_id) { - this._super(session, element_id); - this.view_manager = view_manager; + init: function(parent, element_id, dataset, view_id) { + this._super(parent, element_id); + this.view_manager = parent; this.dataset = dataset; this.dataset_index = 0; this.model = this.dataset.model; |
