diff --git a/tryton/gui/window/view_form/screen/screen.py b/tryton/gui/window/view_form/screen/screen.py index bdc0dbb6ce..c7e6e936f0 100644 --- a/tryton/gui/window/view_form/screen/screen.py +++ b/tryton/gui/window/view_form/screen/screen.py @@ -287,7 +287,7 @@ class Screen(SignalEvent): return True def switch_view(self, view_type=None, default=True, context=None): - if self.modified(): + if not self.parent and self.modified(): return self.current_view.set_value() if (self.current_record and