From a79b7e7b0ecc79c63e9f20733971ce976be98dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 11 Oct 2013 22:16:45 +0200 Subject: [PATCH] Backed out changeset e7d1f0e1c5f6 --- tryton/gui/window/view_form/view/form_gtk/many2many.py | 2 +- tryton/gui/window/view_form/view/form_gtk/one2many.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tryton/gui/window/view_form/view/form_gtk/many2many.py b/tryton/gui/window/view_form/view/form_gtk/many2many.py index 00766107a0..7e66d786b6 100644 --- a/tryton/gui/window/view_form/view/form_gtk/many2many.py +++ b/tryton/gui/window/view_form/view/form_gtk/many2many.py @@ -223,7 +223,7 @@ class Many2Many(WidgetInterface): if field is None: self.screen.new_group() self.screen.current_record = None - self.screen.parent = None + self.screen.parent = True self.screen.display() return False new_group = field.get_client(record) diff --git a/tryton/gui/window/view_form/view/form_gtk/one2many.py b/tryton/gui/window/view_form/view/form_gtk/one2many.py index 4c4bf66128..3964488220 100644 --- a/tryton/gui/window/view_form/view/form_gtk/one2many.py +++ b/tryton/gui/window/view_form/view/form_gtk/one2many.py @@ -441,7 +441,7 @@ class One2Many(WidgetInterface): if field is None: self.screen.new_group() self.screen.current_record = None - self.screen.parent = None + self.screen.parent = True self.screen.display() return False new_group = field.get_client(record)