<terp>
<data>

	<record model="ir.actions.act_window" id="action_airport_form">
		<field name="name">airport.airport</field>
		<field name="res_model">airport.airport</field>
	</record>
	<menuitem name="Airports/Configuration/Airport" id="menu_action_airport_form" action="action_airport_form"/>


	<record model="ir.ui.view" id="v3">
		<field name="name">airport.airport</field>
		<field name="model">airport.airport</field>
		<field name="type">tree</field>
		<field name="field_parent">lines</field>
		<field name="arch" type="xml">
			<tree string="Flight">
				<field name="name"/>
				<field name="city"/>
			</tree>
		</field>
	</record>
	<record model="ir.actions.act_window" id="action_custom_airport_tree">
		<field name="name">airport.airport</field>
		<field name="res_model">airport.airport</field>
		<field name="view_type">tree</field>
	</record>
	<menuitem name="Airports/Air Lines" id="menu_action_custom_airport_tree" action="action_custom_airport_tree"/>


	<record model="ir.ui.view" id="v4">
		<field name="name">airport.airport</field>
		<field name="model">airport.airport</field>
		<field name="type">form</field>
		<field name="arch" type="xml">
			<form string="Flight">
				<field name="name" colspan="3" select="1"/>
				<field name="city" select="1" />
				<field name="country_id" select="1" />
				<field name="lines" colspan="3"/>
			</form>
		</field>
	</record>


	<record model="ir.actions.act_window" id="action_custom_flight_form">
		<field name="name">airport.flight</field>
		<field name="res_model">airport.flight</field>
	</record>
	<menuitem name="Airports/Configuration/Flights" id="menu_action_custom_flight_form" action="action_custom_flight_form"/>
	<record model="ir.ui.view" id="v2">
		<field name="name">airport.flight</field>
		<field name="model">airport.flight</field>
		<field name="type">form</field>
		<field name="arch" type="xml">
			<form string="Flight">
				<field name="name" select="1"/>
				<field name="date" select="1" />
				<field name="categ_id" select="1" />
				<field name="partner_id" select="1" />
				<field name="airport_from" select="1" />
				<field name="airport_to" select="1" />
			</form>
		</field>
	</record>

</data>
</terp>

