Call set method in set_default
The default value format may not be the internal format for _values like a string for Reference field instead of a list. issue7514 review42241002
This commit is contained in:
1 parent
b26ff4dd86
commit
445d340425
1 file changed
+1
-1
+1
-1
@@ -1407,7 +1407,7 @@
|
||||
return this.get(record);
|
||||
},
|
||||
set_default: function(record, value) {
|
||||
record._values[this.name] = value;
|
||||
this.set(record, value);
|
||||
record._changed[this.name] = true;
|
||||
},
|
||||
set_on_change: function(record, value) {
|
||||
|
||||
Reference in new issue
Block a user