[FIX] Used views own element id.

bzr revid: kmo@tinyerp.com-20110923085557-t6alqpum8aa5ic4i
This commit is contained in:
Khushbu 2011-09-23 14:25:57 +05:30
parent f8b7d96e20
commit 9adf06ef6f
1 changed files with 1 additions and 2 deletions

View File

@ -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);