This commit contains the core of the new MRP. It contains a whole refactoring of the MRP application, with improved and new features, written in new API. Among other here are the main manufacturing workflow improvements : - Picking type not only for pickings but also for manufacturing orders - Properties replaced by picking type - BoM can only be produced with its routing (no other) - Either produce without routing with only production orders, or produce with routing - By default, there is an order in the work orders (serially), but you can override it to be able to work in parallel - Time clocking on work orders and block time on work centers with reporting on OEE, performance, losses, ... - Real-time adaptation of timings on operations - Lots/serial numbers can be inputted like in the pickings on manufacturing orders. It is also possible to input them in the work orders. - Material availability independent of production order state (possibility to start production when only part of it is there) - Work sheets on work orders - Put messages on work orders to make your workers pay attention to something - Full traceability link to see for each produced piece of stock, the consumed pieces, ... - Separate scrap object (a scrap is not done based on an original move anymore) - Separate unbuild system (if you want to unbuild into its original components) Thanks to all people that helped during this development, notably but not limited to Chirag A Dodiya (cod@odoo.com), Gaurav Panchal (gan@odoo.com), Jignesh Rathod (jir@odoo.com), Mansi Trivedi (mtr@odoo.com), Pariket Trivedi (ptr@odoo.com).
97 lines
4.4 KiB
XML
97 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data noupdate="1">
|
|
<!-- notify all employees of module installation -->
|
|
<record model="mail.message" id="module_install_notification">
|
|
<field name="model">mail.channel</field>
|
|
<field name="res_id" ref="mail.channel_all_employees"/>
|
|
<field name="message_type">notification</field>
|
|
<field name="subtype_id" ref="mail.mt_comment"/>
|
|
<field name="subject">MRP application installed!</field>
|
|
<field name="body"><![CDATA[<p>Manage your manufacturing process with Odoo by defining your bills of materials (BoM), routings and work centers.</p><p>
|
|
This application supports complete integration and production scheduling for stockable goods, consumables, and services.</p>
|
|
<p>From the Manufacturing Settings, you can choose to compute production schedules periodically or just-in-time.</p>]]></field>
|
|
</record>
|
|
|
|
<record id="sequence_mrp_prod" model="ir.sequence">
|
|
<field name="name">Production order</field>
|
|
<field name="code">mrp.production</field>
|
|
<field name="prefix">MO/</field>
|
|
<field name="padding">5</field>
|
|
<field name="number_next">1</field>
|
|
<field name="number_increment">1</field>
|
|
</record>
|
|
|
|
<record id="sequence_mrp_route" model="ir.sequence">
|
|
<field name="name">Routing</field>
|
|
<field name="code">mrp.routing</field>
|
|
<field name="prefix">RO/</field>
|
|
<field name="padding">5</field>
|
|
<field name="number_next">1</field>
|
|
<field name="number_increment">1</field>
|
|
</record>
|
|
|
|
<record id="sequence_mrp_unbuild" model="ir.sequence">
|
|
<field name="name">Unbuild</field>
|
|
<field name="code">mrp.unbuild</field>
|
|
<field name="prefix">UB/</field>
|
|
<field name="padding">5</field>
|
|
<field name="number_next">1</field>
|
|
<field name="number_increment">1</field>
|
|
</record>
|
|
|
|
<!--
|
|
Procurement rules and routes
|
|
-->
|
|
|
|
<record id="route_warehouse0_manufacture" model='stock.location.route'>
|
|
<field name="name">Manufacture</field>
|
|
<field name="sequence">5</field>
|
|
</record>
|
|
|
|
<!-- Enable the manufacturing in warehouse0 -->
|
|
<record id='stock.warehouse0' model='stock.warehouse'>
|
|
<field name='manufacture_to_resupply' eval='True'/>
|
|
</record>
|
|
|
|
<!-- Reasons To Block Workcenter -->
|
|
<record id="block_reason0" model="mrp.workcenter.productivity.loss">
|
|
<field name="name">Material Availability</field>
|
|
<field name="loss_type">availability</field>
|
|
<field name="sequence">1</field>
|
|
</record>
|
|
<record id="block_reason1" model="mrp.workcenter.productivity.loss">
|
|
<field name="name">Equipment Failure</field>
|
|
<field name="loss_type">availability</field>
|
|
<field name="sequence">2</field>
|
|
</record>
|
|
<record id="block_reason2" model="mrp.workcenter.productivity.loss">
|
|
<field name="name">Setup and Adjustments</field>
|
|
<field name="loss_type">availability</field>
|
|
<field name="sequence">3</field>
|
|
</record>
|
|
<record id="block_reason4" model="mrp.workcenter.productivity.loss">
|
|
<field name="name">Reduced Speed</field>
|
|
<field name="loss_type">performance</field>
|
|
<field name="manual" eval="False"/>
|
|
<field name="sequence">5</field>
|
|
</record>
|
|
<record id="block_reason5" model="mrp.workcenter.productivity.loss">
|
|
<field name="name">Process Defect</field>
|
|
<field name="loss_type">quality</field>
|
|
<field name="sequence">6</field>
|
|
</record>
|
|
<record id="block_reason6" model="mrp.workcenter.productivity.loss">
|
|
<field name="name">Reduced Yield</field>
|
|
<field name="loss_type">quality</field>
|
|
<field name="sequence">7</field>
|
|
</record>
|
|
<record id="block_reason7" model="mrp.workcenter.productivity.loss">
|
|
<field name="name">Fully Productive Time</field>
|
|
<field name="loss_type">productive</field>
|
|
<field name="manual" eval="False"/>
|
|
<field name="sequence">0</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|