[IMP] web_kanban: remove inappropriate method _is_action_enabled
bzr revid: rco@openerp.com-20120904135905-4f7lu2qk0p5qk8cs
This commit is contained in:
parent
a0704feafd
commit
440b8aabbd
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue