From c18b4cbc12c5702ba8a11d784066bbe5455cf15f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 7 Apr 2016 00:04:01 +0200 Subject: [PATCH] Remove tree_action keyword tree_action is removed since version 2.0 with the merge of tree and list view. --- doc/topics/actions.rst | 4 +--- trytond/ir/action.py | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/topics/actions.rst b/doc/topics/actions.rst index 015a5f1dcb..da68525b50 100644 --- a/doc/topics/actions.rst +++ b/doc/topics/actions.rst @@ -22,12 +22,10 @@ Keyword Keywords define where to display the action in the client. -There are six places: +There are five places: * Open tree (`tree_open`) - * Action tree (`tree_action`) - * Print form (`form_print`) * Action form (`form_action`) diff --git a/trytond/ir/action.py b/trytond/ir/action.py index 193230bab1..40970b09a4 100644 --- a/trytond/ir/action.py +++ b/trytond/ir/action.py @@ -102,7 +102,6 @@ class ActionKeyword(ModelSQL, ModelView): __name__ = 'ir.action.keyword' keyword = fields.Selection([ ('tree_open', 'Open tree'), - ('tree_action', 'Action tree'), ('form_print', 'Print form'), ('form_action', 'Action form'), ('form_relate', 'Form relate'),