Don't set missing default value to False
False is not always a good valid value for the field, so it is better to let the field dealing with default value. issue3643 review3281002
This commit is contained in:
1 parent
6a568168bc
commit
34f9666bbd
1 file changed
-3
@@ -395,9 +395,6 @@ class Group(SignalEvent, list):
|
||||
to_add.keys(), main_iteration=False, context=self.context)
|
||||
except RPCException:
|
||||
return False
|
||||
for name in to_add:
|
||||
if name not in values:
|
||||
values[name] = False
|
||||
for record in new:
|
||||
record.set_default(values, signal=signal)
|
||||
|
||||
|
||||
Reference in new issue
Block a user