diff --git a/tryton/gui/window/view_form/screen/screen.py b/tryton/gui/window/view_form/screen/screen.py index 596cffdd26..8614aa8cea 100644 --- a/tryton/gui/window/view_form/screen/screen.py +++ b/tryton/gui/window/view_form/screen/screen.py @@ -474,7 +474,7 @@ class Screen(SignalEvent): self.current_view.set_cursor() self.current_view.display() return False - if path: + if path and obj_id: path = path[:-1] + ((path[-1][0], obj_id),) self.current_record = self.group.get_by_path(path) self.display()