From 76be13ae5d023f04e34f3afa39895c9ca31409bb Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Mon, 20 Nov 2017 12:32:11 +0100 Subject: [PATCH] [FIX]Menu for relations (and coworkers) --- coworking_coworker/__manifest__.py | 1 - coworking_coworker/views/coworking_menu.xml | 4 +++- .../views/coworking_menu_parent.xml | 15 --------------- coworking_relation/__manifest__.py | 1 + coworking_relation/views/relation_menu.xml | 3 ++- 5 files changed, 6 insertions(+), 18 deletions(-) delete mode 100644 coworking_coworker/views/coworking_menu_parent.xml diff --git a/coworking_coworker/__manifest__.py b/coworking_coworker/__manifest__.py index 81a76ce..5050e10 100644 --- a/coworking_coworker/__manifest__.py +++ b/coworking_coworker/__manifest__.py @@ -26,7 +26,6 @@ 'application': False, 'installable': True, 'data': ['security/ir.model.access.csv', - 'views/coworking_menu_parent.xml', 'views/coworking_menu.xml', 'views/coworker_views.xml'], 'depends': ['coworking_base'] diff --git a/coworking_coworker/views/coworking_menu.xml b/coworking_coworker/views/coworking_menu.xml index 96460c2..85aea0e 100644 --- a/coworking_coworker/views/coworking_menu.xml +++ b/coworking_coworker/views/coworking_menu.xml @@ -7,7 +7,9 @@ res_model="coworking.coworker" view_mode="tree,form,kanban,calendar" /> - + + diff --git a/coworking_coworker/views/coworking_menu_parent.xml b/coworking_coworker/views/coworking_menu_parent.xml deleted file mode 100644 index e5fe4e2..0000000 --- a/coworking_coworker/views/coworking_menu_parent.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - diff --git a/coworking_relation/__manifest__.py b/coworking_relation/__manifest__.py index 45dc04e..a181477 100644 --- a/coworking_relation/__manifest__.py +++ b/coworking_relation/__manifest__.py @@ -26,6 +26,7 @@ 'application': False, 'installable': True, 'data': ['security/ir.model.access.csv', + 'views/relation_menu.xml', 'views/relation_views.xml', 'views/coworker_views.xml'], 'depends': ['coworking_coworker'] diff --git a/coworking_relation/views/relation_menu.xml b/coworking_relation/views/relation_menu.xml index 0be4232..3426ae6 100644 --- a/coworking_relation/views/relation_menu.xml +++ b/coworking_relation/views/relation_menu.xml @@ -6,6 +6,7 @@ - +