Files
pms/hotel_calendar/data/menus.xml
2018-12-05 19:02:53 +01:00

34 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="action_hotel_calendar" model="ir.actions.act_window">
<field name="name">Hotel Calendar</field>
<field name="res_model">hotel.reservation</field>
<field name="view_mode">pms</field>
<field name="view_type">form</field>
</record>
<record id="action_hotel_calendar_management" model="ir.actions.act_window">
<field name="name">Hotel Calendar Management</field>
<field name="res_model">hotel.calendar.management</field>
<field name="view_mode">mpms</field>
</record>
<menuitem id="hotel_calendar_menu" name="Hotel Calendar" sequence="10"
web_icon="hotel_calendar,static/description/icon_calendar.png"
action="action_hotel_calendar" />
<menuitem id="hotel_calendar_management_menu" name="Hotel Calendar Management" sequence="20"
web_icon="hotel_calendar,static/description/icon_calendar_configurator.png"
action="action_hotel_calendar_management" groups="hotel.group_hotel_manager" />
<menuitem id="hotel_room_pricelist_cached" name="Room Pricelist Cached"
sequence="1" action="hotel_room_pricelist_cached_action_form_tree" parent="sale.menu_sale_config"/>
<menuitem id="hotel_calendar_record_menu" name="Calendars"
parent="hotel.hotel_configuration_menu" sequence="10"
groups="hotel.group_hotel_manager"
action="hotel_calendar_action_form_tree" />
</odoo>