odoo/addons/stock_location/stock_location_demo_cpu1.xml

76 lines
4.2 KiB
XML

<openerp>
<data noupdate="1">
<record id="product.product_product_9" model="product.product">
<field name="description">This product is configured with example of push/pull flows</field>
</record>
<record id="stock_location_qualitytest0" model="stock.location">
<field name="location_id" ref="stock.stock_location_company"/>
<field eval="0" name="scrap_location"/>
<field name="company_id" ref="base.main_company"/>
<field name="usage">internal</field>
<field name="name">Quality Control</field>
</record>
<record id="stock_location_path_4" model="stock.location.path">
<field model="stock.location" name="location_from_id" search="[('name', '=', u'Input')]"/>
<field name="product_id" ref="product.product_product_10"/>
<field name="auto">transparent</field>
<field name="invoice_state">none</field>
<field eval="1" name="delay"/>
<field name="name">Receptions to Quality Control</field>
<field name="location_dest_id" ref="stock_location_qualitytest0"/>
<field name="location_from_id" ref="stock.stock_location_stock"/>
<field name="picking_type_id" ref="stock.picking_type_internal"/>
</record>
<record id="stock_location_path_5" model="stock.location.path">
<field name="location_from_id" ref="stock_location_qualitytest0"/>
<field name="product_id" ref="product.product_product_10"/>
<field name="auto">manual</field>
<field name="invoice_state">none</field>
<field name="name">Store in Shelf</field>
<field eval="5" name="delay"/>
<field name="location_dest_id" ref="stock.stock_location_14"/>
<field name="picking_type_id" ref="stock.picking_type_internal"/>
</record>
<record id="product_pulled_flow_l0" model="procurement.rule">
<field name="product_id" ref="product.product_product_9"/>
<field name="location_src_id" ref="stock.stock_location_intermediatelocation0"/>
<field name="location_id" ref="stock.stock_location_shop0"/>
<field name="partner_address_id" ref="base.main_partner"/>
<field name="invoice_state">none</field>
<field name="company_id" ref="stock.res_company_1"/>
<field name="type_proc">move</field>
<field eval="0" name="cancel_cascade"/>
<field name="procure_method">make_to_order</field>
<field name="picking_type_id" ref="stock.picking_type_in"/>
<field name="name">Receive from Warehouse</field>
<field name="action">move</field>
</record>
<record id="product_pulled_flow_l1" model="procurement.rule">
<field name="product_id" ref="product.product_product_9"/>
<field name="location_id" ref="stock.stock_location_intermediatelocation0"/>
<field name="location_src_id" ref="stock.stock_location_stock"/>
<field name="partner_address_id" ref="stock.res_partner_address_41"/>
<field name="type_proc">move</field>
<field name="invoice_state">none</field>
<field name="company_id" ref="base.main_company"/>
<field eval="0" name="cancel_cascade"/>
<field name="procure_method">make_to_stock</field>
<field name="picking_type_id" ref="stock.picking_type_out"/>
<field name="name">Deliver Shop</field>
<field name="action">move</field>
</record>
<record id="stock_warehouse_orderpoint_shop1_cpu1" model="stock.warehouse.orderpoint">
<field name="product_max_qty">20.0</field>
<field name="product_min_qty">10.0</field>
<field name="product_uom" ref="product.product_uom_unit"/>
<field name="company_id" ref="stock.res_company_1"/>
<field name="warehouse_id" ref="stock.stock_warehouse_shop0"/>
<field name="location_id" ref="stock.stock_location_shop0"/>
<field name="product_id" ref="product.product_product_9"/>
<field name="action">move</field>
</record>
</data>
</openerp>