diff --git a/tryton/gui/window/view_board/action.py b/tryton/gui/window/view_board/action.py index ecc4bcae65..23824bfdf5 100644 --- a/tryton/gui/window/view_board/action.py +++ b/tryton/gui/window/view_board/action.py @@ -94,7 +94,7 @@ class Action(SignalEvent): return if (self.screen.current_view.view_type == 'tree' and - self.screen.current_view.treeview.keyword_open): + self.screen.current_view.attributes.get('keyword_open')): GenericAction.exec_keyword('tree_open', { 'model': self.screen.model_name, 'id': self.screen.id_get(),