From 9adf06ef6f96acb7bac5ca3c3582c41b666d69ad Mon Sep 17 00:00:00 2001 From: Khushbu Date: Fri, 23 Sep 2011 14:25:57 +0530 Subject: [PATCH] [FIX] Used views own element id. bzr revid: kmo@tinyerp.com-20110923085557-t6alqpum8aa5ic4i --- addons/web_graph/static/src/js/graph.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index 3ab6d4e20fc..3052a7bb8c9 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -49,8 +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.view_manager.element_id; - + this.elem_id = this.element_id; _.each(this.fields_view.arch.children, function (field) { if (field.attrs.operator) { this.operator.push(field.attrs.name);