From a679dcea4d4080bdfa5294c948561198a3944f80 Mon Sep 17 00:00:00 2001 From: michel Date: Mon, 20 Nov 2017 11:12:41 +0100 Subject: [PATCH] Menu --- coworking_coworker/__manifest__.py | 1 + coworking_coworker/views/coworking_menu.xml | 5 +++- .../views/coworking_menu_parent.xml | 15 ++++++++++++ coworking_relation/__manifest__.py | 1 - coworking_relation/views/relation_menu.xml | 3 +-- coworking_relation/views/relation_views.xml | 24 +++++++++++++++++++ 6 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 coworking_coworker/views/coworking_menu_parent.xml diff --git a/coworking_coworker/__manifest__.py b/coworking_coworker/__manifest__.py index 5050e10..81a76ce 100644 --- a/coworking_coworker/__manifest__.py +++ b/coworking_coworker/__manifest__.py @@ -26,6 +26,7 @@ '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 6c752ca..fbc4a29 100644 --- a/coworking_coworker/views/coworking_menu.xml +++ b/coworking_coworker/views/coworking_menu.xml @@ -5,7 +5,10 @@ + - + + + diff --git a/coworking_coworker/views/coworking_menu_parent.xml b/coworking_coworker/views/coworking_menu_parent.xml new file mode 100644 index 0000000..4624b30 --- /dev/null +++ b/coworking_coworker/views/coworking_menu_parent.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + diff --git a/coworking_relation/__manifest__.py b/coworking_relation/__manifest__.py index a181477..45dc04e 100644 --- a/coworking_relation/__manifest__.py +++ b/coworking_relation/__manifest__.py @@ -26,7 +26,6 @@ '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 a2ab1e1..5973274 100644 --- a/coworking_relation/views/relation_menu.xml +++ b/coworking_relation/views/relation_menu.xml @@ -6,6 +6,5 @@ - - + diff --git a/coworking_relation/views/relation_views.xml b/coworking_relation/views/relation_views.xml index fe62d3e..3e5ac1b 100644 --- a/coworking_relation/views/relation_views.xml +++ b/coworking_relation/views/relation_views.xml @@ -34,4 +34,28 @@ + + + + relation Search + coworking.relation + + + + + + + + + + + + + + + + +