Send signal record-changed to the wrong parent
It must be send to the ModelRecord of the field and not to the ModelRecordGroup
This commit is contained in:
1 parent
1be2ced70b
commit
0e86d9ff0e
1 file changed
+1
-1
@@ -394,7 +394,7 @@ class O2MField(CharField):
|
||||
model.parent.modified = True
|
||||
model.parent.modified_fields.setdefault(self.name)
|
||||
self.sig_changed(model.parent)
|
||||
self.parent.signal('record-changed', model)
|
||||
model.parent.signal('record-changed', model.parent)
|
||||
|
||||
def get_client(self, model):
|
||||
return model.value[self.name]
|
||||
|
||||
Reference in new issue
Block a user