<?xml version="1.0"?>
<terp>
<data>

	<!--
		Partner Relations
	-->

	<record model="ir.ui.view" id="view_partner_relation_form">
		<field name="name">res.partner.relation.form</field>
		<field name="model">res.partner.relation</field>
		<field name="type">form</field>
		<field name="arch" type="xml">
			<form string="Relations">
				<field name="name" />
				<newline/>
				<field name="relation_id"/>
			</form>
		</field>
	</record>
	<record model="ir.ui.view" id="view_partner_relation_tree">
		<field name="name">res.partner.relation.tree</field>
		<field name="model">res.partner.relation</field>
		<field name="type">tree</field>
		<field name="arch" type="xml">
			<tree string="Relations">
				<field name="name" />
				<field name="relation_id"/>
			</tree>
		</field>
	</record>

	<!--
		Partners Extension
	-->

	<record model="ir.ui.view" id="view_partner_form">
		<field name="name">res.partner.form.inherit</field>
		<field name="model">res.partner</field>
		<field name="type">form</field>
		<field name="inherit_id" ref="base.view_partner_form"/>
		<field name="arch" type="xml">
			<notebook>
				<page string="Relations">
					<field name="relation_ids" colspan="4" nolabel="1"/>
				</page>
			</notebook>
		</field>
	</record>

</data>
</terp>
