From 0e86d9ff0e85fc2d4b6e84d1edb1b7d97216e5fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 19 Jan 2010 12:29:24 +0100 Subject: [PATCH] Send signal record-changed to the wrong parent It must be send to the ModelRecord of the field and not to the ModelRecordGroup --- tryton/gui/window/view_form/model/field.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/gui/window/view_form/model/field.py b/tryton/gui/window/view_form/model/field.py index 45e30fd254..88c0030a26 100644 --- a/tryton/gui/window/view_form/model/field.py +++ b/tryton/gui/window/view_form/model/field.py @@ -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]