[FIX] web: use _.clone to avoid change of 'default_value'

This commit is contained in:
Christophe Matthieu
2015-10-01 15:35:26 +02:00
parent d750206c49
commit ce30ee7066
+1 -1
View File
@@ -736,7 +736,7 @@ var BufferedDataSet = DataSetStatic.extend({
default_get: function(fields, options) {
var self = this;
return this._super(fields, options).done(function(res) {
self.last_default_get = res;
self.last_default_get = _.clone(res);
});
},
get_cache: function (id) {