Don't set default value for on_change and set id
issue3487
This commit is contained in:
1 parent
37b608b412
commit
36bcd1aef0
2 files changed
+2
No files matched your search
@@ -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]]);
|
||||
}
|
||||
|
||||
@@ -685,6 +685,7 @@
|
||||
});
|
||||
result[arg] = scope;
|
||||
});
|
||||
result.id = this.id;
|
||||
return result;
|
||||
},
|
||||
on_change: function(fieldname, attr) {
|
||||
|
||||
Reference in new issue
Block a user