[FIX] resolve Conflicts reverts

bzr revid: jam@tinyerp.com-20120827050151-yinbjtladoe3vu5w
This commit is contained in:
Jigar Amin - OpenERP
2012-08-27 10:31:51 +05:30
parent 548672a2c3
commit e79baa9e8a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ instance.web.DiagramView = instance.web.View.extend({
return label.tag == "label";
});
this.$el.html(QWeb.render("DiagramView", this));
this.$el.html(QWeb.render("DiagramView", {'widget': this}));
this.$el.addClass(this.fields_view.arch.attrs['class']);
_.each(self.labels,function(label){
@@ -2,7 +2,7 @@
<t t-name="DiagramView">
<div class="oe_diagram_header" t-att-id="element_id + '_header'">
<h3 class="oe_diagram_title"/>
<t t-if="this._is_action_enabled('create')">
<t t-if="widget._is_action_enabled('create')">
<div class="oe_diagram_buttons">
<button type="button" id="new_node" class="oe_button oe_diagram_button_new">New Node</button>
</div>