[FIX]Menu for relations (and coworkers)
This commit is contained in:
parent
f7ef7f73cc
commit
76be13ae5d
@ -26,7 +26,6 @@
|
|||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'data': ['security/ir.model.access.csv',
|
'data': ['security/ir.model.access.csv',
|
||||||
'views/coworking_menu_parent.xml',
|
|
||||||
'views/coworking_menu.xml',
|
'views/coworking_menu.xml',
|
||||||
'views/coworker_views.xml'],
|
'views/coworker_views.xml'],
|
||||||
'depends': ['coworking_base']
|
'depends': ['coworking_base']
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
res_model="coworking.coworker" view_mode="tree,form,kanban,calendar" />
|
res_model="coworking.coworker" view_mode="tree,form,kanban,calendar" />
|
||||||
|
|
||||||
<!-- Menu item to open Coworkers list -->
|
<!-- Menu item to open Coworkers list -->
|
||||||
<!-- <menuitem id="coworker_menu" name="Coworkers" action="coworker_action" /> -->
|
<menuitem id="coworker_menu" name="Coworkers" />
|
||||||
|
<menuitem id="coworker_list" name="Coworkers" action="coworker_action"
|
||||||
|
parent="coworker_menu" sequence="1" />
|
||||||
|
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<odoo>
|
|
||||||
<!-- Menu items -->
|
|
||||||
<!-- Modify top menu item -->
|
|
||||||
<menuitem id="coworking_menu" name="Coworking" />
|
|
||||||
<!-- App menu items -->
|
|
||||||
<menuitem id="menu_coworker"
|
|
||||||
name="Coworker"
|
|
||||||
parent="coworking.coworker"
|
|
||||||
sequence="10"
|
|
||||||
action="coworker_action" />
|
|
||||||
|
|
||||||
|
|
||||||
</odoo>
|
|
@ -26,6 +26,7 @@
|
|||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'data': ['security/ir.model.access.csv',
|
'data': ['security/ir.model.access.csv',
|
||||||
|
'views/relation_menu.xml',
|
||||||
'views/relation_views.xml',
|
'views/relation_views.xml',
|
||||||
'views/coworker_views.xml'],
|
'views/coworker_views.xml'],
|
||||||
'depends': ['coworking_coworker']
|
'depends': ['coworking_coworker']
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
<act_window id="relation_action" name="Relation"
|
<act_window id="relation_action" name="Relation"
|
||||||
res_model="coworking.relation" view_mode="tree" />
|
res_model="coworking.relation" view_mode="tree" />
|
||||||
<!-- Menu item to open Event list -->
|
<!-- Menu item to open Event list -->
|
||||||
<!-- <menuitem id="coworker_relation_menu" name="Relations" action="relation_action" /> -->
|
<menuitem id="coworker_relation_menu" name="Relations" action="relation_action"
|
||||||
|
parent="coworking_coworker.coworker_menu" sequence="2" />
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
Loading…
Reference in New Issue
Block a user