flectra/addons/mrp/data/mrp_data.xml
2018-01-16 02:34:37 -08:00

87 lines
3.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<data noupdate="1">
<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="company_id"></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>
</flectra>