diff options
| author | Khushbu <kmo@tinyerp.com> | 2011-09-23 14:25:57 +0530 |
|---|---|---|
| committer | Khushbu <kmo@tinyerp.com> | 2011-09-23 14:25:57 +0530 |
| commit | 9adf06ef6f96acb7bac5ca3c3582c41b666d69ad (patch) | |
| tree | 77c1ead9d785d21a82c13cbf8f0a2e1ba9eafb47 /addons/web_graph/static/src/js | |
| parent | f8b7d96e20a2a89d31d3d7e4e90e5a30920131ab (diff) | |
[FIX] Used views own element id.
bzr revid: kmo@tinyerp.com-20110923085557-t6alqpum8aa5ic4i
Diffstat (limited to 'addons/web_graph/static/src/js')
| -rw-r--r-- | addons/web_graph/static/src/js/graph.js | 3 |
1 files changed, 1 insertions, 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); |
