From f8b7d96e20a2a89d31d3d7e4e90e5a30920131ab Mon Sep 17 00:00:00 2001 From: kmo Date: Wed, 21 Sep 2011 17:07:43 +0530 Subject: [PATCH] [FIX]Remove Overlapping of graph in Dashboard. lp bug: https://launchpad.net/bugs/854692 fixed bzr revid: kgo@kgo-desktop-20110921113743-0p19ocxmf26n2jtl --- addons/web_graph/static/src/js/graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index 2a493b89166..3ab6d4e20fc 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -49,7 +49,7 @@ openerp.web_graph.GraphView = openerp.web.View.extend({ this.operator = []; this.group_field = []; this.orientation = this.fields_view.arch.attrs.orientation || ''; - this.elem_id = this.$element[0]['id']; + this.elem_id = this.view_manager.element_id; _.each(this.fields_view.arch.children, function (field) { if (field.attrs.operator) {