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

       <record id="stock_location_path_tree" model="ir.ui.view">
            <field name="name">stock.location.path.tree</field>
            <field name="model">stock.location.path</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Location Paths">
                    <field name="product_id"/>
                    <field name="location_from_id"/>
                    <field name="location_dest_id"/>
                    <field name="name"/>
                </tree>
            </field>
        </record>

       <record id="stock_location_path_form" model="ir.ui.view">
            <field name="name">stock.location.path.form</field>
            <field name="model">stock.location.path</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Location Paths">
                    <field name="name"/>
                    <newline/>
                    <field name="product_id"/>
                    <newline/>
                    <field name="location_from_id"/>
                    <field name="location_dest_id"/>
                    <field name="auto"/>
                    <field name="delay"/>
                </form>
            </field>
        </record>

       <record id="product_normal_form_inherit_location" model="ir.ui.view">
            <field name="name">product.product.form</field>
            <field name="model">product.product</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="product.product_normal_form_view"/>
            <field name="arch" type="xml">
                <page string="Procurement &amp; Locations">
                    <field name="path_ids" editable="bottom" colspan="4" nolabel="1">
                        <tree string="Location Paths" editable="bottom">
                            <field name="location_from_id"/>
                            <field name="location_dest_id"/>
                            <field name="auto"/>
                            <field name="delay"/>
                            <field name="name"/>
                        </tree>
                    </field>
                </page>
            </field>
       </record>

    </data>
</openerp>
