From 5ebce6f4db9feabd2f59b6e28dc0ce1cccb84496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 3 Apr 2009 17:46:21 +0200 Subject: [PATCH] Prevent signal when calling remove in set_on_change of O2M --- 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 3ebbd3ee94..7e49870595 100644 --- a/tryton/gui/window/view_form/model/field.py +++ b/tryton/gui/window/view_form/model/field.py @@ -553,7 +553,7 @@ class O2MField(CharField): if mod: to_remove.append(mod) for mod in to_remove: - model.value[self.name].remove(mod) + model.value[self.name].remove(mod, signal=False) mod = None if value and value.get('add') or value.get('update', []):