[FIX] web: re-add now usefull variable self

This commit is contained in:
Christophe Simonis
2016-06-28 17:05:11 +02:00
parent cf1e8dcb92
commit 71530771ea
@@ -1264,6 +1264,7 @@ var FieldOne2Many = FieldX2Many.extend({
return this._super.apply(this, arguments);
},
commit_value: function() {
var self = this;
return this.is_loaded.then(function() {
var view = self.viewmanager.active_view;
if(view.type === "list" && view.controller.editable()) {