<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2014 Compassion (http://www.compassion.ch)
    @author Cyril Sester <cyril.sester@outlook.com>
    The licence is in the file __openerp__.py
-->
<openerp>
<data>
	<record id="view_partner_add_contract_form" model="ir.ui.view">
		<field name="name">res.partner.add.contract.form</field>
		<field name="model">res.partner</field>
		<field name="inherit_id" ref="base.view_partner_form" />
		<field name="arch" type="xml">
			<data>
			<notebook position="inside">
				<page string="Contracts">
					<field name="contract_ids" context="{'partner_contracts_view': True, 'default_partner_id': active_id}" />
				</page>
			</notebook>
			</data>
		</field>
	</record>
</data>
</openerp>

<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2014 Compassion (http://www.compassion.ch)
    @author Cyril Sester <cyril.sester@outlook.com>
    The licence is in the file __openerp__.py
-->
<openerp>
<data>
	<record id="view_partner_add_contract_form" model="ir.ui.view">
		<field name="name">res.partner.add.contract.form</field>
		<field name="model">res.partner</field>
		<field name="inherit_id" ref="base.view_partner_form" />
		<field name="arch" type="xml">
			<data>
			<page string="Contacts" position="before">
				<page string="Contracts">
					<field name="contract_ids" context="{'partner_contracts_view': True, 'default_partner_id': active_id}" />
				</page>
			</page>
			</data>
		</field>
	</record>
</data>
</openerp>

Move Contracts section in beginning of partner view
Move Contracts section in beginning of partner view
