Coworking/coworking_event/views/event_menu.xml
2017-11-21 16:40:06 +01:00

15 lines
496 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Action to open Coworkers list -->
<act_window id="event_action" name="Event"
res_model="coworking.event" view_mode="tree,form,calendar"
context="{'search_default_status_confirmed': True, 'search_default_status_draft': True}" />
<!-- Menu item to open Event list -->
<menuitem id="event_topmenu" name="Event" />
<menuitem id="event_menu" name="Events" action="event_action"
parent="event_topmenu" sequence="1" />
</odoo>