<?xml version="1.0" ?>
<openerp>
	<data>

		<!--
			Process
		-->

		<record id="process_process_mrpoperationprocess0" model="process.process">
			<field eval="&quot;&quot;&quot;Mrp Operations&quot;&quot;&quot;" name="name"/>
			<field name="model_id" ref="mrp.model_mrp_production_workcenter_line"/>
			<field eval="1" name="active"/>
		</record>

		<!--
			Process Node
		-->

		<record id="process_node_productionorder0" model="process.node">
			<field name="menu_id" ref="mrp.menu_mrp_production_action"/>
			<field name="model_id" ref="mrp.model_mrp_production"/>
			<field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
			<field eval="&quot;&quot;&quot;Information from the production order.&quot;&quot;&quot;" name="note"/>
			<field eval="&quot;&quot;&quot;Production Order&quot;&quot;&quot;" name="name"/>
			<field name="process_id" ref="process_process_mrpoperationprocess0"/>
			<field eval="&quot;&quot;&quot;object.state=='draft'&quot;&quot;&quot;" name="model_states"/>
			<field eval="1" name="flow_start"/>
		</record>

		<record id="process_node_workorder0" model="process.node">
			<field name="model_id" ref="mrp.model_mrp_production_workcenter_line"/>
			<field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
			<field eval="&quot;&quot;&quot;Information from the routing definition.&quot;&quot;&quot;" name="note"/>
			<field eval="&quot;&quot;&quot;Work Center&quot;&quot;&quot;" name="name"/>
			<field name="process_id" ref="process_process_mrpoperationprocess0"/>
			<field eval="&quot;&quot;&quot;object.state=='draft'&quot;&quot;&quot;" name="model_states"/>
			<field eval="1" name="flow_start"/>
		</record>

		<record id="process_node_startoperation0" model="process.node">
			<field name="model_id" ref="mrp.model_mrp_production_workcenter_line"/>
			<field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
			<field eval="&quot;&quot;&quot;Start the operation.&quot;&quot;&quot;" name="note"/>
			<field eval="&quot;&quot;&quot;Start Operation&quot;&quot;&quot;" name="name"/>
			<field name="process_id" ref="process_process_mrpoperationprocess0"/>
			<field eval="&quot;&quot;&quot;object.state=='startworking'&quot;&quot;&quot;" name="model_states"/>
			<field eval="0" name="flow_start"/>
		</record>

		<record id="process_node_doneoperation0" model="process.node">
			<field name="model_id" ref="mrp.model_mrp_production_workcenter_line"/>
			<field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
			<field eval="&quot;&quot;&quot;Finish the operation.&quot;&quot;&quot;" name="note"/>
			<field eval="&quot;&quot;&quot;Operation Done&quot;&quot;&quot;" name="name"/>
			<field name="process_id" ref="process_process_mrpoperationprocess0"/>
			<field eval="&quot;&quot;&quot;object.state=='done'&quot;&quot;&quot;" name="model_states"/>
			<field eval="0" name="flow_start"/>
		</record>

		<record id="process_node_canceloperation0" model="process.node">
			<field name="model_id" ref="mrp.model_mrp_production_workcenter_line"/>
			<field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
			<field eval="&quot;&quot;&quot;Cancel the operation.&quot;&quot;&quot;" name="note"/>
			<field eval="&quot;&quot;&quot;Operation Cancelled&quot;&quot;&quot;" name="name"/>
			<field name="process_id" ref="process_process_mrpoperationprocess0"/>
			<field eval="&quot;&quot;&quot;object.state=='cancel'&quot;&quot;&quot;" name="model_states"/>
			<field eval="0" name="flow_start"/>
		</record>

		<!--
			Process Transition
		-->

		<record id="process_transition_productionstart0" model="process.transition">
			<field eval="[(6,0,[])]" name="transition_ids"/>
			<field eval="&quot;&quot;&quot;Creation of the work order&quot;&quot;&quot;" name="name"/>
			<field eval="&quot;&quot;&quot;The work orders are created on the basis of the production order.&quot;&quot;&quot;" name="note"/>
			<field model="process.node" name="target_node_id" ref="process_node_startoperation0"/>
			<field model="process.node" name="source_node_id" ref="process_node_productionorder0"/>
		</record>

		<record id="process_transition_workstartoperation0" model="process.transition">
			<field eval="[(6,0,[])]" name="transition_ids"/>
			<field eval="&quot;&quot;&quot;Details of the work order&quot;&quot;&quot;" name="name"/>
			<field eval="&quot;&quot;&quot;There is 1 work order per work center. The information about the number of cycles or the cycle time.&quot;&quot;&quot;" name="note"/>
			<field model="process.node" name="target_node_id" ref="process_node_startoperation0"/>
			<field model="process.node" name="source_node_id" ref="process_node_workorder0"/>
		</record>

		<record id="process_transition_startdoneoperation0" model="process.transition">
			<field eval="[(6,0,[])]" name="transition_ids"/>
			<field eval="&quot;&quot;&quot;Operation done&quot;&quot;&quot;" name="name"/>
			<field eval="&quot;&quot;&quot;When the operation is finished, the operator updates the system by finishing the work order.&quot;&quot;&quot;" name="note"/>
			<field model="process.node" name="target_node_id" ref="process_node_doneoperation0"/>
			<field model="process.node" name="source_node_id" ref="process_node_startoperation0"/>
		</record>

		<record id="process_transition_startcanceloperation0" model="process.transition">
			<field eval="[(6,0,[])]" name="transition_ids"/>
			<field eval="&quot;&quot;&quot;Operation cancelled&quot;&quot;&quot;" name="name"/>
			<field eval="&quot;&quot;&quot;When the operation needs to be cancelled, you can do it in the work order form.&quot;&quot;&quot;" name="note"/>
			<field model="process.node" name="target_node_id" ref="process_node_canceloperation0"/>
			<field model="process.node" name="source_node_id" ref="process_node_startoperation0"/>
		</record>

	</data>
</openerp>
