<terp>
<data>
	<record model="ir.actions.act_window" id="action_travel_hostel_form">
		<field name="name">travel.hostel</field>
		<field name="res_model">travel.hostel</field>
		<field name="domain">[]</field>
	</record>
	<menuitem name="Travel Agency/Hostels" id="menu_travel_hostel_form" action="action_travel_hostel_form"/>

	<record model="ir.actions.act_window" id="action_travel_room_form">
		<field name="name">travel.room</field>
		<field name="res_model">travel.room</field>
	</record>
	<menuitem name="Travel Agency/Rooms" id="menu_travel_room_form" action="action_travel_room_form"/>

	<record model="ir.actions.act_window" id="action_travel_hostel_form2">
		<field name="name">travel.hostel</field>
		<field name="res_model">travel.hostel</field>
		<field name="domain">[('beds','=',1)]</field>
		<field name="view_type">form</field>
		<field name="view_mode">tree,form</field>
	</record>
	<menuitem name="Travel Agency/Rooms/single rooms" id="menu_travel_hostel_form2" action="action_travel_hostel_form2"/>

	<record model="ir.actions.act_window" id="action_travel_hostel_form3">
		<field name="name">travel.room</field>
		<field name="res_model">travel.room</field>
		<field name="domain">[('beds','=',2)]</field>
		<field name="view_type">form</field>
		<field name="view_mode">tree,form</field>
	</record>
	<menuitem name="Travel Agency/Rooms/Double rooms" id="menu_travel_hostel_form3" action="action_travel_hostel_form3"/>

	<record model="ir.actions.act_window" id="action_travel_airport_form">
		<field name="name">travel.airport</field>
		<field name="res_model">travel.airport</field>
	</record>
	<menuitem name="Travel Agency/Airports" id="menu_travel_airport_form" action="action_travel_airport_form"/>

	<record model="ir.actions.act_window" id="action_travel_flight_form">
		<field name="name">travel.flight</field>
		<field name="res_model">travel.flight</field>
		<field name="domain">[]</field>
	</record>
	<menuitem name="Travel Agency/Flights" id="menu_travel_flight_form" action="action_travel_flight_form"/>

	<record model="ir.ui.view" id="view_travel_flight_form">
		<field name="name">travel.flight</field>
		<field name="model">travel.flight</field>
		<field name="type">form</field>
		<field name="arch" type="xml">
			<form string="Flight">
				<field name="name" select="1"/>
				<field name="partner_id" select="1" />
				<field name="date" select="1" />
				<field name="categ_id" select="1" />
				<field name="airport_from" select="1" />
				<field name="airport_to" select="1" />
			</form>
		</field>
	</record>

	<record model="ir.ui.view" id="view_travel_room_form">
		<field name="name">travel.room</field>
		<field name="model">travel.room</field>
		<field name="type">form</field>
		<field name="priority" eval="5"/>
		<field name="arch" type="xml">
			<form string="Room">
				<field name="name" select="1"/>
				<field name="categ_id" select="1" />
				<field name="beds" select="1" />
				<field name="view" select="1" />
				<field name="list_price" select="1" />
				<field name="standard_price" select="1" />
			</form>
		</field>
	</record>
	<record model="ir.ui.view" id="view_travel_room_tree">
		<field name="name">travel.room</field>
		<field name="model">travel.room</field>
		<field name="type">tree</field>
		<field name="priority" eval="5"/>
		<field name="arch" type="xml">
			<tree string="Room">
				<field name="name" select="1"/>
				<field name="view" select="1" />
				<field name="list_price" select="1" />
			</tree>
		</field>
	</record>

	<record model="ir.ui.view" id="view_travel_hostel_form">
		<field name="name">travel.hostel</field>
		<field name="model">travel.hostel</field>
		<field name="type">form</field>
		<field name="priority" eval="5"/>
		<field name="arch" type="xml">
			<form string="Hostel">
				<notebook>
					<page string="General">
						<separator string="Hostel Information" colspan="4"/>
						<field name="name" select="1"/>
						<field name="lang" select="1"/>
						<newline/>
						<field name="address" mode="form,tree" colspan="4" nolabel="1" select="1"/>
						<separator string="Categories" colspan="4"/>
						<field name="category_id" colspan="4" select="1" nolabel="1"/>
					</page>
					<page string="Rooms Info">
						<field name="rooms_id" colspan="4" widget="one2many_list"
							nolabel="1"/>
					</page>
					<page string="Event History">
						<field name="comment" colspan="4" nolabel="1"/>
						<field name="events" colspan="4" nolabel="1" widget="one2many_list"/>
					</page>
				</notebook>
			</form>
		</field>
	</record>
</data>
</terp>

