<openerp>
    <data>
        <record id="view_product_form_inherit" model="ir.ui.view">
            <field name="name">product.template.common.form.inherit</field>
            <field name="model">product.template</field>
            <field name="inherit_id" ref="product.product_template_form_view"/>
            <field name="arch" type="xml">
		<!--Adds a new page (tab) to the view after the tab Information -->
                <xpath expr="//page[@string='Information']" position="after">
                    <page name="Sample" string="Custom page">
			<group>
			  <field name="FieldNewPage"/>
			</group>
		    </page>
		</xpath>
		<!-- New group after other group (inside page) -->
		<xpath expr="//page[@string='Information']/group" position="after">
		  <group>
		    <field name="FieldAfterGroup"/>
		  </group>
		</xpath>
		<!-- Field after other field -->
                <xpath expr="//field[@name='standard_price']" position="before">
                    <field name="CostPrice" on_change="on_change_price(CostPrice,ShippingCost)"/>
    		    <field name="ShippingCost" on_change="on_change_price(CostPrice,ShippingCost)"/>
		</xpath>
            </field>
        </record>
    </data>
</openerp>

<openerp>
    <data>
        <record id="view_product_form_inherit" model="ir.ui.view">
            <field name="name">product.template.common.form.inherit</field>
            <field name="model">product.template</field>
            <field name="inherit_id" ref="product.product_template_form_view"/>
            <field name="arch" type="xml">
		<!--Adds a new page (tab) to the view after the tab Information -->
                <xpath expr="//page[@string='Information']" position="after">
                    <page name="Sample" string="Custom page">
			<group>
			  <field name="FieldNewPage"/>
			</group>
		    </page>
		</xpath>
		<!-- New group after other group (inside page) -->
		<!-- Note that @string xpath expressions have been removed in V9.0! -->
		<xpath expr="//page[@string='Information']/group" position="after">
		  <group>
		    <field name="FieldAfterGroup"/>
		  </group>
		</xpath>
		<!-- Field after other field -->
                <xpath expr="//field[@name='standard_price']" position="before">
                    <field name="CostPrice" on_change="on_change_price(CostPrice,ShippingCost)"/>
    		    <field name="ShippingCost" on_change="on_change_price(CostPrice,ShippingCost)"/>
		</xpath>
            </field>
        </record>
    </data>
</openerp>

Add warning about 9.0 xpath expr
Add warning about 9.0 xpath expr

Add warning about 9.0 xpath expr