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

        <record model="ir.ui.view" id="view_partner_address_form1_inheritg">
            <field name="name">res.partner.address.form1.inheritg</field>
            <field name="model">res.partner.address</field>
            <field name="inherit_id" ref="base.view_partner_address_form1"/>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <field name="street2" position="replace">
                    <label string="Street2 : " align="1.0"/>
                    <group colspan="1" col="2">
                        <field name="street2" nolabel="1"/>
                        <button name="%(wizard_google_map)d"
                           string="Map" type="action" icon="gtk-zoom-in"/>
                    </group>
                </field>
            </field>
        </record>

        <record model="ir.ui.view" id="view_partner_address_form2_inheritg">
            <field name="name">res.partner.address.form2.inheritg</field>
            <field name="model">res.partner.address</field>
            <field name="inherit_id" ref="base.view_partner_address_form2"/>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <field name="street2" position="replace">
                    <label string="Street2 : " align="1.0"/>
                    <group colspan="1" col="2">
                        <field name="street2" nolabel="1"/>
                        <button name="%(wizard_google_map)d" string="Map" type="action" icon="gtk-zoom-in"/>
                    </group>
                </field>
            </field>
        </record>


        <record model="ir.ui.view" id="view_partner_form_inheritg">
            <field name="name">res.partner.form.inheritg</field>
            <field name="model">res.partner</field>
            <field name="inherit_id" ref="base.view_partner_form"/>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <field name="street2" position="replace">
                        <label string="Street2 : " align="1.0"/>
                        <group colspan="1" col="2">
                        <field name="street2" nolabel="1"/>
                        <button name="%(wizard_google_map)d"
                            string="Map" type="action" icon="gtk-zoom-in"/>
                        </group>
                    </field>
                </field>
        </record>

    </data>
</openerp>
