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

	    ######################## JOB OPPORTUNITIES (menu) ###########################
	     <record model="ir.actions.act_window" id="crm_case_categ0_act_job">
	        <field name="name">Applicants</field>
	        <field name="res_model">hr.applicant</field>
	        <field name="view_mode">tree,form,graph,calendar</field>
	        <field name="view_id" ref="crm_case_tree_view_job"/>
	        <field name="context">{"search_default_user_id":uid, 'search_default_current': 1}</field>
	        <field name="search_view_id" ref="view_crm_case_jobs_filter"/>
	    </record>

	    <record model="ir.actions.act_window.view" id="action_hr_sec_tree_view_act_job">
	        <field name="sequence" eval="1"/>
	        <field name="view_mode">tree</field>
	        <field name="view_id" ref="crm_case_tree_view_job"/>
	        <field name="act_window_id" ref="crm_case_categ0_act_job"/>
	    </record>

	    <record model="ir.actions.act_window.view" id="action_hr_sec_form_view_act_job">
	        <field name="sequence" eval="3"/>
	        <field name="view_mode">form</field>
	        <field name="view_id" ref="crm_case_form_view_job"/>
	        <field name="act_window_id" ref="crm_case_categ0_act_job"/>
	    </record>

	    <record model="ir.actions.act_window.view" id="action_hr_sec_graph_view_act_job">
	        <field name="sequence" eval="4"/>
	        <field name="view_mode">graph</field>
	        <field name="view_id" ref="crm_case_graph_view_job"/>
	        <field name="act_window_id" ref="crm_case_categ0_act_job"/>
	    </record>

	    <menuitem
	        name="Recruitment"
	        id="base.menu_crm_case_job_req_main"
	        parent="hr.menu_hr_root"
	        sequence="1"/>

	 <!-- ALL JOBS REQUESTS -->

	    <menuitem name="Applicants" parent="base.menu_crm_case_job_req_main" id="menu_crm_case_categ0_act_job" action="crm_case_categ0_act_job" sequence="1"/>

	</data>
</openerp>
