[IMP] web_kanban: remove inappropriate method _is_action_enabled

bzr revid: rco@openerp.com-20120904135905-4f7lu2qk0p5qk8cs
This commit is contained in:
Raphael Collet 2012-09-04 15:59:05 +02:00
parent a0704feafd
commit 440b8aabbd
1 changed files with 0 additions and 6 deletions

View File

@ -633,9 +633,6 @@ instance.web_kanban.KanbanGroup = instance.web.Widget.extend({
self.view.dataset.ids.push(id);
self.do_add_records(records, true);
});
},
_is_action_enabled: function(action) {
return (_.has(this.fields_view.arch.attrs, action)) ? JSON.parse(this.fields_view.arch.attrs[action]) : true;
}
});
@ -910,9 +907,6 @@ instance.web_kanban.KanbanRecord = instance.web.Widget.extend({
},
kanban_compute_domain: function(domain) {
return instance.web.form.compute_domain(domain, this.values);
},
_is_action_enabled: function(action) {
return (_.has(this.fields_view.arch.attrs, action)) ? JSON.parse(this.fields_view.arch.attrs[action]) : true;
}
});