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

        <record id="view_crm_partner_geo_form" model="ir.ui.view">
            <field name="name">res.partner.geo.inherit</field>
            <field name="model">res.partner</field>
            <field name="inherit_id" ref="base.view_partner_form"/>
            <field name="arch" type="xml">
                <xpath expr="//notebook[last()]" position="inside">
                    <page string="Geo Localization" name="geo_localization">
                        <group colspan="2" col="2">
                            <separator string="Geo Localization" colspan="2"/>
                            <button
                                string="Geo Localize"
                                name="geo_localize"
                                colspan="2"
                                icon="gtk-apply"
                                type="object"/>
                            <field name="partner_latitude"/>
                            <field name="partner_longitude"/>
                            <field name="date_localization"/>
                        </group>
                    </page>
                </xpath>
            </field>
        </record>

    </data>
</openerp>