[FIX] web_tip : remove unused code that can trigger error

This commit is contained in:
Jérome Maes
2016-06-06 11:47:03 +02:00
parent a4c1e10ae6
commit 412175b005
-11
View File
@@ -24,10 +24,6 @@ var Tips = Class.extend({
self.tips = tips;
});
bus.on('action', this, function(action) {
self.on_action(action);
});
bus.on('view_shown', this, function(view) {
if (_.keys(view.fields_view).length === 0) {
view.on('view_loaded', this, function(fields_view) {
@@ -41,13 +37,6 @@ var Tips = Class.extend({
});
},
// stub
on_action: function(action) {
var self = this;
var action_id = action.id;
var model = action.res_model;
},
on_view: function() {
var self = this;