[ADD] stock_location: Add the demo data

bzr revid: sbh@tinyerp.com-20101007064034-c9fr8t28uvzp7vap
This commit is contained in:
sbh (Open ERP) 2010-10-07 12:10:34 +05:30
parent 9e1ee6bc40
commit 482a8c7635
2 changed files with 57 additions and 1 deletions

View File

@ -79,7 +79,8 @@ product (i.e. the destination location of that procurement order).
'depends': ['procurement','stock'],
'init_xml': [],
'update_xml': ['stock_location_view.xml', 'security/ir.model.access.csv', 'mrp_pull_workflow.xml'],
'demo_xml': [],
'demo_xml': ['stock_location_demo.xml',],
'installable': True,
'test':[
'test/stock_location.yml'

View File

@ -0,0 +1,55 @@
<?xml version="1.0" ?>
<openerp>
<data noupdate="1">
<record id="stock_location_path_0" model="stock.location.path">
<field name="location_from_id" ref="stock.stock_location_suppliers"/>
<field name="product_id" ref="product.product_product_cpu1"/>
<field name="auto">auto</field>
<field name="invoice_state">none</field>
<field eval="1" name="delay"/>
<field name="location_dest_id" ref="stock.stock_location_stock"/>
<field name="picking_type">out</field>
</record>
<record id="stock_location_path_1" model="stock.location.path">
<field name="location_from_id" ref="stock.stock_location_output"/>
<field name="product_id" ref="product.product_product_cpu1"/>
<field name="auto">auto</field>
<field name="invoice_state">none</field>
<field eval="1" name="delay"/>
<field name="location_dest_id" ref="stock.stock_location_stock"/>
<field name="picking_type">out</field>
</record>
<record id="product_pulled_flow_l0" model="product.pulled.flow">
<field name="product_id" ref="product.product_product_cpu1"/>
<field name="location_id" ref="stock.stock_location_shop0"/>
<field name="invoice_state">none</field>
<field name="company_id" ref="base.main_company"/>
<field name="type_proc">move</field>
<field eval="0" name="cancel_cascade"/>
<field name="procure_method">make_to_order</field>
<field name="picking_type">out</field>
<field name="name">L001</field>
</record>
<record id="product_pulled_flow_l1" model="product.pulled.flow">
<field name="product_id" ref="product.product_product_cpu1"/>
<field name="location_src_id" ref="stock.stock_location_suppliers"/>
<field name="location_id" ref="stock.stock_location_stock"/>
<field name="invoice_state">none</field>
<field name="company_id" ref="base.main_company"/>
<field name="type_proc">move</field>
<field eval="0" name="cancel_cascade"/>
<field name="procure_method">make_to_order</field>
<field name="picking_type">out</field>
<field name="name">L002</field>
</record>
<record id="product_pulled_flow_l2" model="product.pulled.flow">
<field name="product_id" ref="product.product_product_cpu1"/>
<field name="location_id" ref="stock.stock_location_suppliers"/>
<field name="invoice_state">none</field>
<field name="company_id" ref="base.main_company"/>
<field name="type_proc">buy</field>
<field name="name">L003</field>
</record>
</data>
</openerp>