2008-07-01 15:58:58 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2008-09-10 17:56:00 +00:00
|
|
|
<openerp>
|
2008-06-29 08:26:07 +00:00
|
|
|
<data noupdate="1">
|
2010-01-13 06:13:16 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<!--
|
2006-12-07 13:41:40 +00:00
|
|
|
Resource: stock.location
|
|
|
|
-->
|
2008-06-29 08:26:07 +00:00
|
|
|
<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">
|
2010-04-20 14:27:26 +00:00
|
|
|
<field name="name">Shelf 2</field>
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="location_id" ref="stock_location_13"/>
|
2010-05-27 07:10:12 +00:00
|
|
|
<!-- <field model="account.account" name="account_id" search="[('name','=','Merchandise Type B')]"/>-->
|
2008-06-29 08:26:07 +00:00
|
|
|
</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">
|
2010-04-20 14:27:26 +00:00
|
|
|
<field name="name">Shelf 1</field>
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="location_id" ref="stock_location_workshop"/>
|
|
|
|
</record>
|
2010-01-13 06:13:16 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<!--
|
2006-12-07 13:41:40 +00:00
|
|
|
Resource: stock.inventory
|
|
|
|
-->
|
2010-01-13 06:13:16 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<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>
|
2010-01-13 06:13:16 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<!--
|
2006-12-07 13:41:40 +00:00
|
|
|
Resource: stock.inventory.line
|
|
|
|
-->
|
2010-01-13 06:13:16 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<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>
|
2010-01-13 06:13:16 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<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>
|
2010-01-13 06:13:16 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<function model="stock.inventory" name="action_done">
|
2008-07-01 15:58:58 +00:00
|
|
|
<function eval="[[]]" model="stock.inventory" name="search"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</function>
|
2010-01-13 06:13:16 +00:00
|
|
|
|
2009-11-30 06:22:07 +00:00
|
|
|
<!-- Multi Company -->
|
2010-01-13 06:13:16 +00:00
|
|
|
|
2010-05-10 05:46:20 +00:00
|
|
|
<record id="res_partner_tinyshop0" model="res.partner">
|
2009-11-30 06:22:07 +00:00
|
|
|
<field eval="0" name="customer"/>
|
|
|
|
<field eval="0" name="supplier"/>
|
|
|
|
<field eval="1" name="active"/>
|
|
|
|
<field eval=""""Tiny Shop 1"""" name="name"/>
|
|
|
|
</record>
|
|
|
|
<record id="res_partner_address_fabien0" model="res.partner.address">
|
|
|
|
<field eval=""""Fabien"""" 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=""""Shop 1"""" 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=""""Tiny Shop 2"""" name="name"/>
|
|
|
|
</record>
|
|
|
|
<record id="res_partner_address_eric0" model="res.partner.address">
|
|
|
|
<field eval=""""Eric"""" 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 eval="1.0" name="manufacturing_lead"/>
|
|
|
|
<field name="parent_id" ref="base.main_company"/>
|
|
|
|
<field eval="80.0" name="schedule_range"/>
|
|
|
|
<field eval=""""Shop 2"""" name="name"/>
|
|
|
|
</record>
|
|
|
|
<record id="stock_location_shop0" model="stock.location">
|
|
|
|
<field model="res.partner.address" name="address_id" search="[('name','=','Fabien')]"/>
|
|
|
|
<field eval=""""fifo"""" name="allocation_method"/>
|
|
|
|
<field name="location_id" ref="stock.stock_location_company"/>
|
|
|
|
<field name="company_id" ref="res_company_shop0"/>
|
|
|
|
<field eval=""""internal"""" name="usage"/>
|
|
|
|
<field eval=""""none"""" name="chained_location_type"/>
|
|
|
|
<field eval="1" name="active"/>
|
|
|
|
<field eval=""""Shop 1"""" name="name"/>
|
|
|
|
<field eval=""""manual"""" 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=""""internal"""" name="usage"/>
|
|
|
|
<field eval="1" name="active"/>
|
|
|
|
<field eval=""""Shop 2"""" name="name"/>
|
|
|
|
</record>
|
2010-01-13 06:13:16 +00:00
|
|
|
<!--<record id="res_users_shopuser0" model="res.users">
|
2009-11-30 06:22:07 +00:00
|
|
|
<field model="ir.actions.actions" name="menu_id" search="[('name','=','Menu')]"/>
|
|
|
|
<field eval="[(6,0,[ref('base.group_user'),ref('stock.group_stock_user')])]" name="groups_id"/>
|
|
|
|
<field model="res.partner.address" name="address_id" search="[('name','=','Fabien')]"/>
|
|
|
|
<field eval="[(6,0,[])]" name="roles_id"/>
|
|
|
|
<field eval="1" name="active"/>
|
|
|
|
<field eval=""""shop1"""" name="password"/>
|
|
|
|
<field eval=""""en_US"""" name="context_lang"/>
|
|
|
|
<field eval=""""Shop 1 User"""" name="name"/>
|
|
|
|
<field name="company_id" ref="res_company_shop0"/>
|
|
|
|
<field eval=""""shop1"""" name="login"/>
|
|
|
|
<field model="ir.actions.actions" name="action_id" search="[('name','=','Menu')]"/>
|
|
|
|
</record>
|
|
|
|
<record id="res_users_shopuser1" model="res.users">
|
|
|
|
<field model="ir.actions.actions" name="menu_id" search="[('name','=','Menu')]"/>
|
|
|
|
<field eval="[(6,0,[ref('base.group_user'),ref('stock.group_stock_user')])]" name="groups_id"/>
|
|
|
|
<field model="res.partner.address" name="address_id" search="[('name','=','Eric')]"/>
|
|
|
|
<field eval=""""shop2"""" name="password"/>
|
|
|
|
<field eval=""""Shop 2 User"""" name="name"/>
|
|
|
|
<field name="company_id" ref="res_company_tinyshop0"/>
|
|
|
|
<field eval=""""shop2"""" name="login"/>
|
|
|
|
<field model="ir.actions.actions" name="action_id" search="[('name','=','Menu')]"/>
|
|
|
|
</record>
|
2010-01-13 06:13:16 +00:00
|
|
|
--><record id="stock_location_intermediatelocation0" model="stock.location">
|
2009-11-30 06:22:07 +00:00
|
|
|
<field name="address_id" ref="base.main_address"/>
|
|
|
|
<field name="location_id" ref="stock.stock_location_company"/>
|
|
|
|
<field eval=""""procurement"""" name="usage"/>
|
|
|
|
<field eval=""""Internal Shippings"""" name="name"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="stock_warehouse_shop0" model="stock.warehouse">
|
|
|
|
<field name="lot_output_id" ref="stock.stock_location_output"/>
|
|
|
|
<field eval=""""Shop 1"""" 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=""""Shop 2"""" 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>
|
2010-06-09 06:38:21 +00:00
|
|
|
|
|
|
|
<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>
|
2010-01-13 06:13:16 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
</data>
|
2008-09-10 17:56:00 +00:00
|
|
|
</openerp>
|