diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-07-13 12:43:51 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-07-13 12:43:51 +0200 |
| commit | 13cf80a229079495ecb748431b34faff8f9cd114 (patch) | |
| tree | dc98cca2cccf097a937c64402e2ca3a20bcc382a /addons/base_graph/static/src/js | |
| parent | 98cd4261d2ba20741706cb99cf8336b926954fe1 (diff) | |
[IMP] graph&dashboard: do not instantiate ActionManager directly anymore
bzr revid: fme@openerp.com-20110713104351-wy7dwm2v8ywsz2tf
Diffstat (limited to 'addons/base_graph/static/src/js')
| -rw-r--r-- | addons/base_graph/static/src/js/graph.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/base_graph/static/src/js/graph.js b/addons/base_graph/static/src/js/graph.js index 6f1e3a89253..fdf3585449c 100644 --- a/addons/base_graph/static/src/js/graph.js +++ b/addons/base_graph/static/src/js/graph.js @@ -434,9 +434,7 @@ openerp.base_graph.GraphView = openerp.base.View.extend({ } views.push(view); }); - this.actionmanager = new openerp.base.ActionManager(this.session, "oe_app"); - this.actionmanager.start(); - this.actionmanager.do_action({ + this.session.action_manager.do_action({ "res_model" : this.dataset.model, "domain" : this.dataset.domain, "views" : views, |
