Don't set default value for on_change and set id

issue3487
This commit is contained in:
Cédric Krier committed 2014-05-19 21:14:54 +02:00
1 parent 37b608b412
commit 36bcd1aef0
2 files changed
+2

No files matched your search

+1
View File
@@ -316,6 +316,7 @@
var change_with = this.attributes.selection_change_with || [];
var key = [];
var args = record._get_on_change_args(change_with);
delete args.id;
for (var k in args) {
key.push([k, args[k]]);
}
+1
View File
@@ -685,6 +685,7 @@
});
result[arg] = scope;
});
result.id = this.id;
return result;
},
on_change: function(fieldname, attr) {