[FIX] web: clone values in read_ids (avoid external changes)
Some widgets like list editable use and change values dictionary. When the write is called, the values in the cache is equal to the changes send => field no dirty => no change triggered.
This commit is contained in:
@@ -843,7 +843,7 @@ var BufferedDataSet = DataSetStatic.extend({
|
||||
|
||||
var return_records = function() {
|
||||
var records = _.map(ids, function(id) {
|
||||
return self.get_cache(id).values;
|
||||
return _.clone(self.get_cache(id).values);
|
||||
});
|
||||
if (self.debug_mode) {
|
||||
if (_.include(records, undefined)) {
|
||||
|
||||
Reference in New Issue
Block a user