<?xml version="1.0" ?>
<openerp>
	<data>
	
		<!--
			Process Node
		-->
	
		<record id="process_node_crmquotation0" model="process.node">
			<field name="menu_id" ref="sale.menu_action_order_tree10"/>
            <field name="model_id" ref="sale.model_sale_order"/>
			<field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
			<field eval="&quot;&quot;&quot;Quotation&quot;&quot;&quot;" name="name"/>
			<field eval="&quot;&quot;&quot;Convert opportunity to quotation&quot;&quot;&quot;" name="note"/>
			<field name="process_id" ref="crm_configuration.process_process_contractprocess0"/>
			<field eval="&quot;&quot;&quot;object.state in ('draft', 'open', 'pending', 'done', 'cancel')&quot;&quot;&quot;" name="model_states"/>
			<field eval="0" name="flow_start"/>
		</record>
		
		<record id="process_node_crmopportunity0" model="process.node">
			<field name="model_id" ref="crm.model_crm_case"/>
			<field eval="&quot;&quot;&quot;subflow&quot;&quot;&quot;" name="kind"/>
			<field eval="&quot;&quot;&quot;CRM Opportunity&quot;&quot;&quot;" name="name"/>
			<field eval="&quot;&quot;&quot;The CRM Opportunity can lead to a quotation.&quot;&quot;&quot;" name="note"/>
			<field name="subflow_id" ref="crm_configuration.process_process_contractprocess0"/>
			<field name="process_id" ref="sale.process_process_salesprocess0"/>
			<field eval="&quot;&quot;&quot;object.state in ('draft', 'open', 'pending', 'done', 'cancel')&quot;&quot;&quot;" name="model_states"/>
			<field eval="1" name="flow_start"/>
		</record>
		
		<record id="process_node_contractanalytic0" model="process.node">
			<field name="menu_id" ref="account.account_analytic_def_account"/>
			<field name="model_id" ref="account.model_account_analytic_account"/>
			<field eval="&quot;&quot;&quot;subflow&quot;&quot;&quot;" name="kind"/>
			<field eval="&quot;&quot;&quot;Analytic account&quot;&quot;&quot;" name="name"/>
			<field eval="&quot;&quot;&quot;Reflect the contract made with customer&quot;&quot;&quot;" name="note"/>
			<field name="process_id" ref="crm_configuration.process_process_contractprocess0"/>
			<field eval="0" name="flow_start"/>
		</record>
	
		<record id="process_node_contractpricelist0" model="process.node">
			<field name="menu_id" ref="product.menu_product_pricelist_action2"/>
			<field name="model_id" ref="product.model_product_pricelist"/>
			<field eval="&quot;&quot;&quot;subflow&quot;&quot;&quot;" name="kind"/>
			<field eval="&quot;&quot;&quot;Contract Pricelist&quot;&quot;&quot;" name="name"/>
			<field eval="&quot;&quot;&quot;Contract Volume (pricelist)&quot;&quot;&quot;" name="note"/>
			<field name="process_id" ref="crm_configuration.process_process_contractprocess0"/>
			<field eval="0" name="flow_start"/>
		</record>
		
		
		<!--
			Process Transition
		-->
		
		<record id="process_transition_crmopportunityquotation" model="process.transition">
			<field eval="[(6,0,[])]" name="role_ids"/>
			<field eval="[(6,0,[])]" name="transition_ids"/>
			<field eval="&quot;&quot;&quot;Crm opportunity quotation&quot;&quot;&quot;" name="name"/>
			<field eval="&quot;&quot;&quot;Opportunity goes into the quotation&quot;&quot;&quot;" name="note"/>
			<field model="process.node" name="target_node_id" ref="sale.process_node_quotation0"/>
			<field model="process.node" name="source_node_id" ref="process_node_crmopportunity0"/>
		</record>
		
		
		<record id="process_transition_opportunityquotation0" model="process.transition">
			<field eval="[(6,0,[])]" name="role_ids"/>
			<field eval="[(6,0,[])]" name="transition_ids"/>
			<field eval="&quot;&quot;&quot;Opportunity Quotation&quot;&quot;&quot;" name="name"/>
			<field eval="&quot;&quot;&quot;Opportunity convert into quotation&quot;&quot;&quot;" name="note"/>
			<field model="process.node" name="target_node_id" ref="process_node_crmquotation0"/>
			<field model="process.node" name="source_node_id" ref="crm_configuration.process_node_opportunities0"/>
		</record>
		
		<record id="process_transition_opportunitypricelist0" model="process.transition">
			<field eval="[(6,0,[])]" name="role_ids"/>
			<field eval="[(6,0,[])]" name="transition_ids"/>
			<field eval="&quot;&quot;&quot;Opportunity Pricelist&quot;&quot;&quot;" name="name"/>
			<field eval="&quot;&quot;&quot;Opporunity convert to the Pricelist&quot;&quot;&quot;" name="note"/>
			<field model="process.node" name="target_node_id" ref="process_node_contractpricelist0"/>
			<field model="process.node" name="source_node_id" ref="crm_configuration.process_node_opportunities0"/>
		</record>
		
		<record id="process_transition_opportunityanalytic0" model="process.transition">
			<field eval="[(6,0,[])]" name="role_ids"/>
			<field eval="[(6,0,[])]" name="transition_ids"/>
			<field eval="&quot;&quot;&quot;Opportunity Analytic&quot;&quot;&quot;" name="name"/>
			<field eval="&quot;&quot;&quot;Analytic Account&quot;&quot;&quot;" name="note"/>
			<field model="process.node" name="target_node_id" ref="process_node_contractanalytic0"/>
			<field model="process.node" name="source_node_id" ref="crm_configuration.process_node_opportunities0"/>
		</record>
		
	</data>
</openerp>