2008-07-01 15:58:58 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2008-09-10 17:56:00 +00:00
|
|
|
<openerp>
|
2013-07-25 14:43:35 +00:00
|
|
|
<data>
|
|
|
|
|
|
|
|
|
2013-07-26 15:40:20 +00:00
|
|
|
<!--
|
2010-06-22 07:28:54 +00:00
|
|
|
Resource: stock.location
|
|
|
|
-->
|
2008-06-29 08:26:07 +00:00
|
|
|
<record id="stock_location_locations" model="stock.location">
|
|
|
|
<field name="name">Physical Locations</field>
|
|
|
|
<field name="usage">view</field>
|
2010-12-20 14:54:13 +00:00
|
|
|
<field name="company_id"></field>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
|
|
|
<record id="stock_location_locations_partner" model="stock.location">
|
|
|
|
<field name="name">Partner Locations</field>
|
|
|
|
<field name="usage">view</field>
|
2010-12-29 14:11:22 +00:00
|
|
|
<field name="posz">1</field>
|
2010-12-20 14:54:13 +00:00
|
|
|
<field name="company_id"></field>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
|
|
|
<record id="stock_location_locations_virtual" model="stock.location">
|
|
|
|
<field name="name">Virtual Locations</field>
|
|
|
|
<field name="usage">view</field>
|
2010-12-29 14:11:22 +00:00
|
|
|
<field name="posz">1</field>
|
2010-12-20 14:54:13 +00:00
|
|
|
<field name="company_id"></field>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
2010-08-31 06:54:27 +00:00
|
|
|
<record id="stock_location_scrapped" model="stock.location">
|
2010-08-30 11:29:52 +00:00
|
|
|
<field name="name">Scrapped</field>
|
2010-05-04 11:14:19 +00:00
|
|
|
<field name="location_id" ref="stock_location_locations_virtual"/>
|
2010-05-06 12:16:04 +00:00
|
|
|
<field name="scrap_location">True</field>
|
2010-06-22 07:28:54 +00:00
|
|
|
<field name="usage">inventory</field>
|
2010-12-20 14:54:13 +00:00
|
|
|
<field name="company_id"></field>
|
2010-05-04 11:14:19 +00:00
|
|
|
</record>
|
2010-12-14 07:04:49 +00:00
|
|
|
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="location_inventory" model="stock.location">
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="name">Inventory loss</field>
|
|
|
|
<field name="location_id" ref="stock_location_locations_virtual"/>
|
|
|
|
<field name="usage">inventory</field>
|
2010-12-20 14:54:13 +00:00
|
|
|
<field name="company_id"></field>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="location_procurement" model="stock.location">
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="name">Procurements</field>
|
|
|
|
<field name="location_id" ref="stock_location_locations_virtual"/>
|
|
|
|
<field name="usage">procurement</field>
|
2010-12-20 14:54:13 +00:00
|
|
|
<field name="company_id"></field>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
|
|
|
<record id="location_production" model="stock.location">
|
2008-11-27 13:03:36 +00:00
|
|
|
<field name="name">Production</field>
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="location_id" ref="stock_location_locations_virtual"/>
|
|
|
|
<field name="usage">production</field>
|
2010-12-20 14:54:13 +00:00
|
|
|
<field name="company_id"></field>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
|
|
|
<record id="stock_location_suppliers" model="stock.location">
|
|
|
|
<field name="name">Suppliers</field>
|
|
|
|
<field name="location_id" ref="stock_location_locations_partner"/>
|
|
|
|
<field name="usage">supplier</field>
|
2010-12-20 14:54:13 +00:00
|
|
|
<field name="company_id"></field>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
|
|
|
<record id="stock_location_customers" model="stock.location">
|
|
|
|
<field name="name">Customers</field>
|
|
|
|
<field name="location_id" ref="stock_location_locations_partner"/>
|
|
|
|
<field name="usage">customer</field>
|
2010-12-20 14:54:13 +00:00
|
|
|
<field name="company_id"></field>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
|
|
|
<record id="stock_location_company" model="stock.location">
|
2010-12-20 14:54:13 +00:00
|
|
|
<field name="name" model="res.company" search="[]" use="name"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="usage">view</field>
|
|
|
|
<field name="location_id" ref="stock_location_locations"/>
|
|
|
|
</record>
|
2010-10-11 21:57:06 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<record id="stock_location_output" model="stock.location">
|
|
|
|
<field name="name">Output</field>
|
|
|
|
<field name="location_id" ref="stock_location_company"/>
|
|
|
|
<field name="usage">internal</field>
|
|
|
|
</record>
|
|
|
|
<record id="stock_location_stock" model="stock.location">
|
|
|
|
<field name="name">Stock</field>
|
|
|
|
<field name="location_id" ref="stock_location_company"/>
|
|
|
|
</record>
|
2010-12-14 07:04:49 +00:00
|
|
|
|
2013-07-26 15:40:20 +00:00
|
|
|
|
|
|
|
<!-- Sequences for picking types -->
|
|
|
|
<record id="seq_picking_type_in" model="ir.sequence">
|
2013-10-02 14:56:07 +00:00
|
|
|
<field name="name">WH Picking in</field>
|
|
|
|
<field name="prefix">WH\IN</field>
|
2013-07-26 15:40:20 +00:00
|
|
|
<field name="padding">5</field>
|
|
|
|
<field name="company_id" eval="False"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="seq_picking_type_out" model="ir.sequence">
|
2013-10-02 14:56:07 +00:00
|
|
|
<field name="name">WH Picking out</field>
|
|
|
|
<field name="prefix">WH\OUT</field>
|
2013-07-26 15:40:20 +00:00
|
|
|
<field name="padding">5</field>
|
|
|
|
<field name="company_id" eval="False"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="seq_picking_type_internal" model="ir.sequence">
|
2013-10-02 14:56:07 +00:00
|
|
|
<field name="name">WH Picking internal</field>
|
|
|
|
<field name="prefix">WH\INT</field>
|
2013-07-26 15:40:20 +00:00
|
|
|
<field name="padding">5</field>
|
|
|
|
<field name="company_id" eval="False"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="picking_type_in" model="stock.picking.type">
|
2013-07-28 12:42:01 +00:00
|
|
|
<field name="name">Receptions</field>
|
2013-07-26 15:40:20 +00:00
|
|
|
<field name="sequence_id" ref="seq_picking_type_in"/>
|
|
|
|
<field name="default_location_src_id" ref="stock_location_suppliers"/>
|
|
|
|
<field name="default_location_dest_id" ref="stock_location_stock"/>
|
2013-09-03 08:01:21 +00:00
|
|
|
<field name="code_id">incoming</field>
|
2013-08-03 23:47:59 +00:00
|
|
|
<field name="auto_force_assign">True</field>
|
2013-07-26 15:40:20 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="picking_type_out" model="stock.picking.type">
|
2013-07-28 12:42:01 +00:00
|
|
|
<field name="name">Delivery Orders</field>
|
2013-07-26 15:40:20 +00:00
|
|
|
<field name="sequence_id" ref="seq_picking_type_out"/>
|
|
|
|
<field name="default_location_src_id" ref="stock_location_stock"/>
|
|
|
|
<field name="default_location_dest_id" ref="stock_location_customers"/>
|
2013-09-03 08:01:21 +00:00
|
|
|
<field name="code_id">outgoing</field>
|
2013-07-26 15:40:20 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="picking_type_internal" model="stock.picking.type">
|
2013-07-28 12:42:01 +00:00
|
|
|
<field name="name">Internal Transfers</field>
|
2013-07-26 15:40:20 +00:00
|
|
|
<field name="sequence_id" ref="seq_picking_type_internal"/>
|
2013-09-06 08:07:58 +00:00
|
|
|
<field name="default_location_src_id" ref="stock_location_stock"/>
|
|
|
|
<field name="default_location_dest_id" ref="stock_location_stock"/>
|
2013-09-03 08:01:21 +00:00
|
|
|
<field name="code_id">internal</field>
|
2013-07-26 15:40:20 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</data>
|
|
|
|
<data noupdate="1">
|
|
|
|
<!-- notify all employees of module installation -->
|
|
|
|
<record model="mail.message" id="module_install_notification">
|
|
|
|
<field name="model">mail.group</field>
|
|
|
|
<field name="res_id" ref="mail.group_all_employees"/>
|
|
|
|
<field name="type">notification</field>
|
|
|
|
<field name="subtype_id" ref="mail.mt_comment"/>
|
|
|
|
<field name="subject">Warehouse Management application installed!</field>
|
|
|
|
<field name="body"><![CDATA[<p>Manage your product inventoy and stock locations: you can control stock moves history and planning,
|
|
|
|
watch your stock valuation, and track production lots upstream and downstream (based on serial numbers).</p>]]></field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Request link
|
|
|
|
-->
|
|
|
|
<record id="req_link_tracking" model="res.request.link">
|
|
|
|
<field name="name">Serial Number</field>
|
|
|
|
<field name="object">stock.production.lot</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
2013-06-30 23:00:28 +00:00
|
|
|
|
2013-07-23 16:47:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Procurement rules
|
|
|
|
-->
|
|
|
|
|
|
|
|
<record id="procurement_rule_customer0" model="procurement.rule">
|
2013-09-30 10:17:28 +00:00
|
|
|
<field name="name">Your Company: Stock → Customer</field>
|
2013-07-23 16:47:55 +00:00
|
|
|
<field name="action">move</field>
|
|
|
|
<field name="location_src_id" ref="stock_location_stock"/>
|
2013-09-09 11:55:15 +00:00
|
|
|
<field name="location_id" ref="stock_location_customers"/>
|
2013-07-23 16:47:55 +00:00
|
|
|
<field name="picking_type_id" ref="picking_type_out"/>
|
2013-09-09 11:55:15 +00:00
|
|
|
<field name="procure_method">make_to_stock</field>
|
2013-07-23 16:47:55 +00:00
|
|
|
</record>
|
|
|
|
|
2013-09-09 11:55:15 +00:00
|
|
|
|
|
|
|
<record id="route_warehouse0_mto" model='stock.location.route'>
|
2013-10-04 10:06:11 +00:00
|
|
|
<field name="name">MTO</field>
|
2013-09-09 11:55:15 +00:00
|
|
|
<field name="sequence">10</field>
|
|
|
|
</record>
|
2013-07-23 16:47:55 +00:00
|
|
|
|
2013-09-09 11:55:15 +00:00
|
|
|
<record id="procurement_rule_customer_mto" model="procurement.rule">
|
2013-09-30 10:17:28 +00:00
|
|
|
<field name="name">Your Company: Stock → Customer</field>
|
2013-09-09 11:55:15 +00:00
|
|
|
<field name="action">move</field>
|
|
|
|
<field name="location_id" ref="stock_location_customers"/>
|
|
|
|
<field name="location_src_id" ref="stock_location_stock"/>
|
|
|
|
<field name="picking_type_id" ref="picking_type_out"/>
|
|
|
|
<field name="procure_method">make_to_order</field>
|
|
|
|
<field name="route_id" ref="route_warehouse0_mto"/>
|
|
|
|
</record>
|
2013-06-30 23:00:28 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<!--
|
2010-06-22 07:28:54 +00:00
|
|
|
Properties
|
|
|
|
-->
|
2008-07-01 15:58:58 +00:00
|
|
|
<record forcecreate="True" id="property_stock_supplier" model="ir.property">
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="name">property_stock_supplier</field>
|
|
|
|
<field name="fields_id" search="[('model','=','res.partner'),('name','=','property_stock_supplier')]"/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field eval="'stock.location,'+str(stock_location_suppliers)" name="value"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
2008-07-01 15:58:58 +00:00
|
|
|
<record forcecreate="True" id="property_stock_customer" model="ir.property">
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="name">property_stock_customer</field>
|
|
|
|
<field name="fields_id" search="[('model','=','res.partner'),('name','=','property_stock_customer')]"/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field eval="'stock.location,'+str(stock_location_customers)" name="value"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
2010-12-14 07:04:49 +00:00
|
|
|
|
|
|
|
<record id="base.main_partner" model="res.partner">
|
|
|
|
<field name="property_stock_customer" eval="ref('stock_location_stock')"/>
|
|
|
|
</record>
|
|
|
|
|
2008-07-01 15:58:58 +00:00
|
|
|
<record forcecreate="True" id="property_stock_procurement" model="ir.property">
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="name">property_stock_procurement</field>
|
|
|
|
<field name="fields_id" search="[('model','=','product.template'),('name','=','property_stock_procurement')]"/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field eval="'stock.location,'+str(location_procurement)" name="value"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
2008-07-01 15:58:58 +00:00
|
|
|
<record forcecreate="True" id="property_stock_inventory" model="ir.property">
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="name">property_stock_inventory</field>
|
|
|
|
<field name="fields_id" search="[('model','=','product.template'),('name','=','property_stock_inventory')]"/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field eval="'stock.location,'+str(location_inventory)" name="value"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
2008-07-01 15:58:58 +00:00
|
|
|
<record forcecreate="True" id="property_stock_production" model="ir.property">
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="name">property_stock_production</field>
|
|
|
|
<field name="fields_id" search="[('model','=','product.template'),('name','=','property_stock_production')]"/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field eval="'stock.location,'+str(location_production)" name="value"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
2010-09-28 11:23:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
<record forcecreate="True" id="decimal_shipping_delay" model="decimal.precision">
|
|
|
|
<field name="name">Shipping Delay</field>
|
|
|
|
<field name="digits" eval="2"/>
|
|
|
|
</record>
|
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<!--
|
2010-06-22 07:28:54 +00:00
|
|
|
Resource: stock.warehouse
|
|
|
|
-->
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="warehouse0" model="stock.warehouse">
|
|
|
|
<field model="res.company" name="name" search="[]" use="name"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="lot_stock_id" ref="stock_location_stock"/>
|
2013-10-02 14:56:07 +00:00
|
|
|
<field name="code">WH</field>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
2013-06-30 22:26:46 +00:00
|
|
|
|
|
|
|
<record id="sequence_mrp_op_type" model="ir.sequence.type">
|
|
|
|
<field name="name">Stock orderpoint</field>
|
|
|
|
<field name="code">stock.orderpoint</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="sequence_mrp_op" model="ir.sequence">
|
|
|
|
<field name="name">Stock orderpoint</field>
|
|
|
|
<field name="code">stock.orderpoint</field>
|
|
|
|
<field name="prefix">OP/</field>
|
|
|
|
<field name="padding">5</field>
|
|
|
|
<field name="number_next">1</field>
|
|
|
|
<field name="number_increment">1</field>
|
|
|
|
</record>
|
2013-09-09 15:32:55 +00:00
|
|
|
|
|
|
|
<!--
|
|
|
|
Add Warehouse to picking_type
|
|
|
|
-->
|
|
|
|
<record id="picking_type_in" model="stock.picking.type">
|
|
|
|
<field name="warehouse_id" ref="warehouse0"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="picking_type_out" model="stock.picking.type">
|
|
|
|
<field name="warehouse_id" ref="warehouse0"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="picking_type_internal" model="stock.picking.type">
|
|
|
|
<field name="warehouse_id" ref="warehouse0"/>
|
|
|
|
</record>
|
2008-06-29 08:26:07 +00:00
|
|
|
</data>
|
2008-09-10 17:56:00 +00:00
|
|
|
</openerp>
|