<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data noupdate="1">

        <!--
	Resource: stock.location
	-->
        <record id="stock_location_3" model="stock.location">
            <field name="name">IT Suppliers</field>
            <field name="location_id" ref="stock_location_suppliers"/>
            <field name="usage">supplier</field>
        </record>
        <record id="stock_location_4" model="stock.location">
            <field name="name">Maxtor Suppliers</field>
            <field name="location_id" ref="stock_location_3"/>
            <field name="usage">supplier</field>
        </record>
        <record id="stock_location_5" model="stock.location">
            <field name="name">Generic IT Suppliers</field>
            <field name="location_id" ref="stock_location_3"/>
            <field name="usage">supplier</field>
        </record>
        <record id="stock_location_7" model="stock.location">
            <field name="name">European Customers</field>
            <field name="location_id" ref="stock_location_customers"/>
            <field name="usage">customer</field>
        </record>
        <record id="stock_location_8" model="stock.location">
            <field name="name">Non European Customers</field>
            <field name="location_id" ref="stock_location_customers"/>
            <field name="usage">customer</field>
        </record>
        <record id="stock_location_13" model="stock.location">
            <field name="name">Stock Level 1</field>
            <field name="location_id" ref="stock_location_stock"/>
        </record>
        <record id="stock_location_14" model="stock.location">
            <field name="name">Shelf 2</field>
            <field name="location_id" ref="stock_location_13"/>
        </record>
        <record id="stock_location_15" model="stock.location">
            <field name="name">Sub Products</field>
            <field name="location_id" ref="stock_location_13"/>
        </record>
        <record id="stock_location_workshop" model="stock.location">
            <field name="name">Workshop</field>
            <field name="location_id" ref="stock_location_stock"/>
        </record>
        <record id="stock_location_components" model="stock.location">
            <field name="name">Shelf 1</field>
            <field name="location_id" ref="stock_location_workshop"/>
        </record>

        <!--
	Resource: stock.inventory
	-->

        <record id="stock_inventory_0" model="stock.inventory">
            <field name="name">Starting Inventory</field>
            <field name="date_done">2005-08-02 13:42:43</field>
            <field name="state">done</field>
        </record>

        <!--
	Resource: stock.inventory.line
	-->

        <record id="stock_inventory_line_0" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_pc1"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">14.0</field>
            <field name="location_id" ref="stock_location_14"/>
        </record>

        <record id="stock_inventory_line_1" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_24"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">16.0</field>
            <field name="location_id" ref="stock_location_14"/>
        </record>
        <record model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_25"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">16.0</field>
            <field name="location_id" ref="stock_location_14"/>
        </record>
        <record model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_pc3"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">8.0</field>
            <field name="location_id" ref="stock_location_14"/>
        </record>
        <record id="stock_inventory_line_2" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_mb1"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">18.0</field>
            <field name="location_id" ref="stock_location_components"/>
        </record>
        <record id="stock_inventory_line_3" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_mb2"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">10.0</field>
            <field name="location_id" ref="stock_location_components"/>
        </record>
        <record id="stock_inventory_line_4" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_cpu1"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">22.0</field>
            <field name="location_id" ref="stock_location_components"/>
        </record>
        <record id="stock_inventory_line_5" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_cpu3"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">8.0</field>
            <field name="location_id" ref="stock_location_components"/>
        </record>
        <record id="stock_inventory_line_6" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_hdd1"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">26.0</field>
            <field name="location_id" ref="stock_location_components"/>
        </record>
        <record id="stock_inventory_line_7" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_fan"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">32.0</field>
            <field name="location_id" ref="stock_location_components"/>
        </record>
        <record id="stock_inventory_line_8" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_fan2"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">37.0</field>
            <field name="location_id" ref="stock_location_components"/>
        </record>
        <record id="stock_inventory_line_9" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_ram"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">39.0</field>
            <field name="location_id" ref="stock_location_components"/>
        </record>
        <record id="stock_inventory_line_10" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_ram512"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">45.0</field>
            <field name="location_id" ref="stock_location_components"/>
        </record>
        <record id="stock_inventory_line_11" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_hdd2"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">10.0</field>
            <field name="location_id" ref="stock_location_components"/>
        </record>
        <record id="stock_inventory_line_12" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_hdd3"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">2.0</field>
            <field name="location_id" ref="stock_location_components"/>
        </record>
        <record id="stock_inventory_line_13" model="stock.inventory.line">
            <field name="product_id" ref="product.product_product_tow1"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="inventory_id" ref="stock_inventory_0"/>
            <field name="product_qty">80.0</field>
            <field name="location_id" ref="stock_location_components"/>
        </record>

        <function model="stock.inventory" name="action_done">
            <function eval="[[]]" model="stock.inventory" name="search"/>
        </function>

        <!--  Multi Company -->

        <record id="res_partner_tinyshop0" model="res.partner">
            <field eval="0" name="customer"/>
            <field eval="0" name="supplier"/>
            <field eval="1" name="active"/>
            <field eval="&quot;&quot;&quot;Tiny Shop 1&quot;&quot;&quot;" name="name"/>
        </record>
        <record id="res_partner_address_fabien0" model="res.partner.address">
            <field eval="&quot;&quot;&quot;Fabien&quot;&quot;&quot;" name="name"/>
            <field name="partner_id" ref="res_partner_tinyshop0"/>
            <field eval="1" name="active"/>
        </record>
        <record id="res_company_shop0" model="res.company">
            <field name="currency_id" ref="base.EUR"/>
            <field name="partner_id" ref="res_partner_tinyshop0"/>
            <field name="parent_id" ref="base.main_company"/>
            <field eval="&quot;&quot;&quot;Shop 1&quot;&quot;&quot;" name="name"/>
        </record>
        <record id="res_partner_tinyshop1" model="res.partner">
            <field eval="1" name="customer"/>
            <field eval="0" name="supplier"/>
            <field eval="1" name="active"/>
            <field eval="&quot;&quot;&quot;Tiny Shop 2&quot;&quot;&quot;" name="name"/>
        </record>
        <record id="res_partner_address_eric0" model="res.partner.address">
            <field eval="&quot;&quot;&quot;Eric&quot;&quot;&quot;" name="name"/>
            <field name="partner_id" ref="res_partner_tinyshop1"/>
            <field eval="1" name="active"/>
        </record>
        <record id="res_company_tinyshop0" model="res.company">
            <field name="currency_id" ref="base.EUR"/>
            <field eval="1.0" name="po_lead"/>
            <field name="partner_id" ref="res_partner_tinyshop1"/>
            <field name="parent_id" ref="base.main_company"/>
            <field eval="80.0" name="schedule_range"/>
            <field eval="&quot;&quot;&quot;Shop 2&quot;&quot;&quot;" name="name"/>
        </record>
        <record id="stock_location_shop0" model="stock.location">
            <field model="res.partner.address" name="address_id" search="[('name','=','Fabien')]"/>
            <field name="location_id" ref="stock.stock_location_company"/>
            <field name="company_id" ref="res_company_shop0"/>
            <field eval="&quot;&quot;&quot;internal&quot;&quot;&quot;" name="usage"/>
            <field eval="&quot;&quot;&quot;none&quot;&quot;&quot;" name="chained_location_type"/>
            <field eval="1" name="active"/>
            <field eval="&quot;&quot;&quot;Shop 1&quot;&quot;&quot;" name="name"/>
            <field eval="&quot;&quot;&quot;manual&quot;&quot;&quot;" name="chained_auto_packing"/>
        </record>
        <record id="stock_location_shop1" model="stock.location">
            <field model="res.partner.address" name="address_id" search="[('name','=','Eric')]"/>
            <field name="company_id" ref="res_company_tinyshop0"/>
            <field name="location_id" ref="stock.stock_location_company"/>
            <field eval="&quot;&quot;&quot;internal&quot;&quot;&quot;" name="usage"/>
            <field eval="1" name="active"/>
            <field eval="&quot;&quot;&quot;Shop 2&quot;&quot;&quot;" name="name"/>
        </record>
        <record id="stock_location_intermediatelocation0" model="stock.location">
            <field name="address_id" ref="base.main_address"/>
            <field name="location_id" ref="stock.stock_location_company"/>
            <field eval="&quot;&quot;&quot;procurement&quot;&quot;&quot;" name="usage"/>
            <field eval="&quot;&quot;&quot;Internal Shippings&quot;&quot;&quot;" name="name"/>
        </record>

        <record id="stock_warehouse_shop0" model="stock.warehouse">
            <field name="lot_output_id" ref="stock.stock_location_output"/>
            <field eval="&quot;&quot;&quot;Shop 1&quot;&quot;&quot;" name="name"/>
            <field name="lot_stock_id" ref="stock_location_shop0"/>
            <field name="partner_address_id" ref="res_partner_address_fabien0"/>
            <field name="company_id" ref="res_company_shop0"/>
            <field name="lot_input_id" ref="stock_location_shop0"/>
        </record>
        <record id="stock_warehouse_shop1" model="stock.warehouse">
            <field name="lot_output_id" ref="stock.stock_location_output"/>
            <field eval="&quot;&quot;&quot;Shop 2&quot;&quot;&quot;" name="name"/>
            <field name="lot_stock_id" ref="stock_location_shop1"/>
            <field name="partner_address_id" ref="res_partner_address_eric0"/>
            <field name="company_id" ref="res_company_tinyshop0"/>
            <field name="lot_input_id" ref="stock_location_shop1"/>
        </record>

 		<record forcecreate="True" id="property_stock_variation" model="ir.property">
            <field name="name">property_stock_variation</field>
            <field name="fields_id" search="[('model','=','product.category'),('name','=','property_stock_variation')]"/>
			<field eval="'account.account,'+str(ref('account.a_recv'))" model="account.account" name="value"/>
 			<field name="company_id" ref="base.main_company"/>
        </record>
		 <record id="stock_picking_1" model="stock.picking">
            <field name="name">PACKO1</field>
            <field name="type">out</field>
            <field name="move_type">direct</field>
            <field name="invoice_state">2binvoiced</field>
            <field name="company_id" ref="base.main_company"/>
        </record>
    </data>
</openerp>
