trytonpsk-hotel/room.xml
Camilo Sarmiento 20f569e9d4 migrate to git
2020-04-16 07:45:13 -05:00

189 lines
9.1 KiB
XML

<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.ui.view" id="cleaning_days_view_form">
<field name="model">hotel.workday_definition</field>
<field name="type">form</field>
<field name="name">cleaning_days_form</field>
</record>
<record model="ir.ui.view" id="cleaning_days_view_tree">
<field name="model">hotel.cleaning_days</field>
<field name="type">tree</field>
<field name="name">cleaning_days_tree</field>
</record>
<record model="ir.ui.view" id="hotel_room_view_tree">
<field name="model">hotel.room</field>
<field name="type">tree</field>
<field name="name">room_tree</field>
</record>
<record model="ir.ui.view" id="hotel_room_view_form">
<field name="model">hotel.room</field>
<field name="type">form</field>
<field name="name">room_form</field>
</record>
<record model="ir.action.act_window" id="act_room_form">
<field name="name">Room</field>
<field name="res_model">hotel.room</field>
</record>
<record model="ir.action.act_window.view" id="act_room_form_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="hotel_room_view_tree"/>
<field name="act_window" ref="act_room_form"/>
</record>
<record model="ir.action.act_window.view" id="act_room_form_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="hotel_room_view_form"/>
<field name="act_window" ref="act_room_form"/>
</record>
<menuitem name="Room" parent="hotel.menu_configuration" sequence="30"
action="act_room_form" id="menu_hotel_room"/>
<!--
<record model="ir.ui.view" id="hotel_accommodation_view_tree">
<field name="model">hotel.accommodation</field>
<field name="type">tree</field>
<field name="name">accommodation_tree</field>
</record>
<record model="ir.ui.view" id="hotel_accommodation_view_form">
<field name="model">hotel.accommodation</field>
<field name="type">form</field>
<field name="name">accommodation_form</field>
</record>
<record model="ir.action.act_window" id="act_accommodation_form">
<field name="name">Accommodation</field>
<field name="res_model">hotel.accommodation</field>
</record>
<record model="ir.action.act_window.view" id="act_accommodation_form_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="hotel_accommodation_view_tree"/>
<field name="act_window" ref="act_accommodation_form"/>
</record>
<record model="ir.action.act_window.view" id="act_accommodation_form_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="hotel_accommodation_view_form"/>
<field name="act_window" ref="act_accommodation_form"/>
</record>
<menuitem name="Accommodation" parent="hotel.menu_configuration" sequence="40"
action="act_accommodation_form" id="menu_hotel_accommodation"/>
-->
<record model="ir.model.button" id="room_clean_button">
<field name="name">clean</field>
<field name="model" search="[('model', '=', 'hotel.room')]"/>
</record>
<record model="ir.model.button-res.group" id="room_clean_button_group_hotel">
<field name="button" ref="room_clean_button"/>
<field name="group" ref="hotel.group_hotel"/>
</record>
<record model="ir.model.button" id="room_inspected_button">
<field name="name">inspected</field>
<field name="model" search="[('model', '=', 'hotel.room')]"/>
</record>
<record model="ir.model.button-res.group" id="room_inspected_button_group_hotel">
<field name="button" ref="room_inspected_button"/>
<field name="group" ref="hotel.group_hotel"/>
</record>
<record model="ir.model.button" id="room_dirty_button">
<field name="name">dirty</field>
<field name="model" search="[('model', '=', 'hotel.room')]"/>
</record>
<record model="ir.model.button-res.group" id="room_dirty_button_group_hotel">
<field name="button" ref="room_dirty_button"/>
<field name="group" ref="hotel.group_hotel"/>
</record>
<record model="ir.model.button" id="room_maintenance_button">
<field name="name">maintenance</field>
<field name="model" search="[('model', '=', 'hotel.room')]"/>
</record>
<record model="ir.model.button-res.group" id="room_maintenance_button_group_hotel">
<field name="button" ref="room_maintenance_button"/>
<field name="group" ref="hotel.group_hotel"/>
</record>
<!-- Model Access -->
<record model="ir.model.access" id="access_room">
<field name="model" search="[('model', '=', 'hotel.room')]"/>
<field name="perm_read" eval="False"/>
<field name="perm_write" eval="False"/>
<field name="perm_create" eval="False"/>
<field name="perm_delete" eval="False"/>
</record>
<record model="ir.model.access" id="access_room_group_hotel">
<field name="model" search="[('model', '=', 'hotel.room')]"/>
<field name="group" ref="group_hotel"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="False"/>
<field name="perm_create" eval="False"/>
<field name="perm_delete" eval="False"/>
</record>
<record model="ir.model.access" id="access_room_group_hotel_admin">
<field name="model" search="[('model', '=', 'hotel.room')]"/>
<field name="group" ref="group_hotel_admin"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="True"/>
<field name="perm_create" eval="True"/>
<field name="perm_delete" eval="True"/>
</record>
<record model="ir.ui.view" id="amenities_view_tree">
<field name="model">hotel.amenities</field>
<field name="type">tree</field>
<field name="name">amenities_tree</field>
</record>
<record model="ir.ui.view" id="amenities_view_form">
<field name="model">hotel.amenities</field>
<field name="type">form</field>
<field name="name">amenities_form</field>
</record>
<record model="ir.action.act_window" id="act_amenities_form">
<field name="name">Amenities</field>
<field name="res_model">hotel.amenities</field>
</record>
<record model="ir.action.act_window.view" id="act_amenities_form_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="amenities_view_tree"/>
<field name="act_window" ref="act_amenities_form"/>
</record>
<record model="ir.action.act_window.view" id="act_amenities_form_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="amenities_view_form"/>
<field name="act_window" ref="act_amenities_form"/>
</record>
<menuitem name="Amenities" parent="hotel.menu_configuration" sequence="90"
action="act_amenities_form" id="menu_hotel_amenities"/>
<record model="ir.ui.view" id="room_classification_view_tree">
<field name="model">hotel.room.classification</field>
<field name="type">tree</field>
<field name="name">room_classification_tree</field>
</record>
<record model="ir.ui.view" id="room_classification_view_form">
<field name="model">hotel.room.classification</field>
<field name="type">form</field>
<field name="name">room_classification_form</field>
</record>
<record model="ir.action.act_window" id="act_room_classification_form">
<field name="name">Room Classification</field>
<field name="res_model">hotel.room.classification</field>
</record>
<record model="ir.action.act_window.view" id="act_room_classification_form_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="room_classification_view_tree"/>
<field name="act_window" ref="act_room_classification_form"/>
</record>
<record model="ir.action.act_window.view" id="act_room_classification_form_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="room_classification_view_form"/>
<field name="act_window" ref="act_room_classification_form"/>
</record>
<menuitem name="Room Classification" parent="hotel.menu_configuration" sequence="50"
action="act_room_classification_form" id="menu_hotel_room_classification"/>
</data>
</tryton>