Don't set default value for on_change and set id
issue3487 review2501003
This commit is contained in:
+3
-2
@@ -788,10 +788,11 @@ class Model(object):
|
||||
scope = values
|
||||
for i in arg.split('.'):
|
||||
if i not in scope:
|
||||
scope = False
|
||||
break
|
||||
scope = scope[i]
|
||||
res[arg] = scope
|
||||
else:
|
||||
res[arg] = scope
|
||||
res['id'] = self.id
|
||||
return res
|
||||
|
||||
def _on_change_set(self, field, value):
|
||||
|
||||
Reference in New Issue
Block a user