<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <record id="view_partner_simple_form" model="ir.ui.view">
        <field name="model">res.partner</field>
        <field name="inherit_id" ref="base.view_partner_simple_form" />
        <field name="arch" type="xml">
            <xpath expr="." position="attributes">
                <attribute name="string">Partner form</attribute>
            </xpath>
            <field name="parent_id" position="attributes">
                <attribute name="context" operation="update">
                    {
                        "default_email": "info@odoo-community.org",
                        "default_company_id": allowed_company_ids[0]
                    }
                </attribute>
            </field>
            <!-- without operations, the standard handler should be called /-->
            <field name="parent_id" position="attributes">
                <attribute name="name">parent_id</attribute>
            </field>
            <form position="inside">
                <notebook>
                    <page string="Phone numbers" name="phone_book" />
                </notebook>
            </form>
        </field>
    </record>
</odoo>
