<?xml version="1.0"?>
<openerp>
<data noupdate="1">
        <!-- notify all employees of module installation -->
        <record model="mail.message" id="module_install_notification">
            <field name="model">mail.group</field>
            <field name="res_id" ref="mail.group_all_employees"/>
            <field name="type">notification</field>
            <field name="subtype_id" ref="mail.mt_comment"/>
            <field name="subject">Recruitment Process application installed!</field>
            <field name="body"><![CDATA[<p>Manage job positions and your company's recruitment process. This application is integrated with the Survey application to help you define interviews for different jobs.</p>
<p>You can automatically receive job application though an email gateway, see the Human Resources settings.</p>]]></field>
        </record>

    <!-- Meeting Types (for interview meetings) -->
    <record model="crm.meeting.type" id="categ_meet_interview">
        <field name="name">Interview</field>
    </record>

        <!--    HR Recruitment Source        -->

    <record model="hr.recruitment.source" id="source_linkedin">
        <field name="name">LinkedIn</field>
    </record>
    <record model="hr.recruitment.source" id="source_monster">
        <field name="name">Monster</field>
    </record>
    <record model="hr.recruitment.source" id="source_word">
        <field name="name">Word of Mouth</field>
    </record>
    <record model="hr.recruitment.source" id="source_website_company">
        <field name="name">Company Website</field>
    </record>


        <!--    Resource(type_id)        -->

    <record model="hr.recruitment.degree" id="degree_graduate">
        <field name="name">Graduate</field>
        <field name="sequence">1</field>
    </record>
    <record model="hr.recruitment.degree" id="degree_bachelor">
        <field name="name">Bachelor Degree</field>
        <field name="sequence">2</field>
    </record>
    <record model="hr.recruitment.degree" id="degree_licenced">
        <field name="name">Master Degree</field>
        <field name="sequence">3</field>
    </record>
    <record model="hr.recruitment.degree" id="degree_bac5">
        <field name="name">Doctoral Degree</field>
        <field name="sequence">4</field>
    </record>
    <record model="hr.recruitment.stage" id="stage_job1">
        <field name="name">Initial Qualification</field>
        <field name="state">draft</field>
        <field name="sequence">1</field>
    </record>
    <record model="hr.recruitment.stage" id="stage_job2">
        <field name="name">First Interview</field>
        <field name="state">open</field>
        <field name="sequence">2</field>
    </record>
    <record model="hr.recruitment.stage" id="stage_job3">
        <field name="name">Second Interview</field>
        <field name="state">open</field>
        <field name="sequence">3</field>
    </record>
    <record model="hr.recruitment.stage" id="stage_job4">
        <field name="name">Contract Proposed</field>
        <field name="state">pending</field>
        <field name="sequence">4</field>
    </record>
    <record model="hr.recruitment.stage" id="stage_job5">
        <field name="name">Contract Signed</field>
        <field name="state">done</field>
        <field name="sequence">5</field>
    </record>
    <record model="hr.recruitment.stage" id="stage_job6">
        <field name="name">Refused</field>
        <field name="state">cancel</field>
        <field name="sequence">6</field>
        <field name="fold" eval="True"/>
    </record>
    <record id="survey_job_0" model="survey">
        <field name="title">Job Survey</field>
        <field name="max_response_limit">20</field>
        <field eval="[(6,0,[])]" name="users"/>
        <field name="type" ref="survey.survey_type1"/>
        <field name="responsible_id" ref="base.user_root"/>
        <field name="response_user">5</field>
    </record>
    <record id="survey_page_job_0" model="survey.page">
        <field name="title">Default Section</field>
        <field name="survey_id" ref="survey_job_0"/>
        <field eval="1" name="sequence"/>
    </record>
    <record id="survey_page_job_1" model="survey.page">
        <field name="title">Education &amp; Activities</field>
        <field name="survey_id" ref="survey_job_0"/>
        <field eval="2" name="sequence"/>
    </record>
    <record id="survey_page_job_2" model="survey.page">
        <field name="title">Importance</field>
        <field name="survey_id" ref="survey_job_0"/>
        <field eval="3" name="sequence"/>
    </record>
    <record id="survey_question_job_0" model="survey.question">
        <field name="in_visible_answer_type">1</field>
        <field name="validation_type">do_not_validate</field>
        <field name="comment_valid_type">do_not_validate</field>
        <field name="make_comment_field_err_msg">Please enter a comment.</field>
        <field name="numeric_required_sum_err_msg">The choices need to add up to [enter sum here].</field>
        <field eval="0" name="comment_column"/>
        <field name="validation_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="rating_allow_one_column_require"/>
        <field name="req_error_msg">This question requires an answer.</field>
        <field eval="1" name="sequence"/>
        <field name="question">From which university will you graduate?</field>
        <field eval="0" name="is_require_answer"/>
        <field name="type">single_textbox</field>
        <field name="comment_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="make_comment_field"/>
        <field eval="1" name="in_visible_menu_choice"/>
        <field name="page_id" ref="survey_page_job_0"/>
        <field name="comment_label">Other</field>
        <field eval="1" name="in_visible_rating_weight"/>
        <field eval="0" name="allow_comment"/>
    </record>
    <record id="survey_question_job_1" model="survey.question">
        <field name="in_visible_answer_type">1</field>
        <field name="validation_type">do_not_validate</field>
        <field name="comment_valid_type">do_not_validate</field>
        <field name="make_comment_field_err_msg">Please enter a comment.</field>
        <field name="numeric_required_sum_err_msg">The choices need to add up to [enter sum here].</field>
        <field eval="0" name="comment_column"/>
        <field name="validation_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="rating_allow_one_column_require"/>
        <field name="req_error_msg">This question requires an answer.</field>
        <field eval="1" name="sequence"/>
        <field name="question">Rate the Importance</field>
        <field eval="0" name="is_require_answer"/>
        <field name="type">matrix_of_choices_only_one_ans</field>
        <field name="comment_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="make_comment_field"/>
        <field eval="1" name="in_visible_menu_choice"/>
        <field name="page_id" ref="survey_page_job_2"/>
        <field name="comment_label">Other</field>
        <field eval="1" name="in_visible_rating_weight"/>
        <field eval="0" name="allow_comment"/>
    </record>
    <record id="survey_question_job_2" model="survey.question">
        <field name="in_visible_answer_type">1</field>
        <field name="validation_type">do_not_validate</field>
        <field name="comment_valid_type">do_not_validate</field>
        <field name="make_comment_field_err_msg">Please enter a comment.</field>
        <field name="numeric_required_sum_err_msg">The choices need to add up to [enter sum here].</field>
        <field eval="0" name="comment_column"/>
        <field name="validation_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="rating_allow_one_column_require"/>
        <field name="req_error_msg">This question requires an answer.</field>
        <field eval="1" name="sequence"/>
        <field name="question">Education</field>
        <field eval="0" name="is_require_answer"/>
        <field name="type">comment</field>
        <field name="comment_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="make_comment_field"/>
        <field eval="1" name="in_visible_menu_choice"/>
        <field name="page_id" ref="survey_page_job_1"/>
        <field name="comment_label">Other</field>
        <field eval="1" name="in_visible_rating_weight"/>
        <field eval="0" name="allow_comment"/>
    </record>
    <record id="survey_question_job_3" model="survey.question">
        <field name="in_visible_answer_type">1</field>
        <field name="validation_type">do_not_validate</field>
        <field name="comment_valid_type">do_not_validate</field>
        <field name="make_comment_field_err_msg">Please enter a comment.</field>
        <field name="numeric_required_sum_err_msg">The choices need to add up to [enter sum here].</field>
        <field eval="0" name="comment_column"/>
        <field name="validation_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="rating_allow_one_column_require"/>
        <field name="req_error_msg">This question requires an answer.</field>
        <field eval="2" name="sequence"/>
        <field name="question">Knowledge</field>
        <field eval="0" name="is_require_answer"/>
        <field name="type">comment</field>
        <field name="comment_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="make_comment_field"/>
        <field eval="1" name="in_visible_menu_choice"/>
        <field name="page_id" ref="survey_page_job_1"/>
        <field name="comment_label">Other</field>
        <field eval="1" name="in_visible_rating_weight"/>
        <field eval="0" name="allow_comment"/>
    </record>
    <record id="survey_question_job_4" model="survey.question">
        <field name="in_visible_answer_type">1</field>
        <field name="validation_type">do_not_validate</field>
        <field name="comment_valid_type">do_not_validate</field>
        <field name="make_comment_field_err_msg">Please enter a comment.</field>
        <field name="numeric_required_sum_err_msg">The choices need to add up to [enter sum here].</field>
        <field eval="0" name="comment_column"/>
        <field name="validation_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="rating_allow_one_column_require"/>
        <field name="req_error_msg">This question requires an answer.</field>
        <field eval="2" name="sequence"/>
        <field name="question">What is your gender?</field>
        <field eval="0" name="is_require_answer"/>
        <field name="type">multiple_choice_only_one_ans</field>
        <field name="comment_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="make_comment_field"/>
        <field eval="1" name="in_visible_menu_choice"/>
        <field name="page_id" ref="survey_page_job_0"/>
        <field name="comment_label">Other</field>
        <field eval="1" name="in_visible_rating_weight"/>
        <field eval="0" name="allow_comment"/>
    </record>

    <record id="survey_answer_job_70" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">Male</field>
        <field name="question_id" ref="survey_question_job_4"/>
        <field eval="1" name="sequence"/>
    </record>

    <record id="survey_answer_job_71" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">Female</field>
        <field name="question_id" ref="survey_question_job_4"/>
        <field eval="2" name="sequence"/>
    </record>

    <record id="survey_question_job_5" model="survey.question">
        <field name="in_visible_answer_type">1</field>
        <field name="validation_type">do_not_validate</field>
        <field name="comment_valid_type">do_not_validate</field>
        <field name="make_comment_field_err_msg">Please enter a comment.</field>
        <field name="numeric_required_sum_err_msg">The choices need to add up to [enter sum here].</field>
        <field eval="0" name="comment_column"/>
        <field name="validation_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="rating_allow_one_column_require"/>
        <field name="req_error_msg">This question requires an answer.</field>
        <field eval="3" name="sequence"/>
        <field name="question">What age group do you belong to?</field>
        <field eval="0" name="is_require_answer"/>
        <field name="type">multiple_choice_only_one_ans</field>
        <field name="comment_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="make_comment_field"/>
        <field eval="1" name="in_visible_menu_choice"/>
        <field name="page_id" ref="survey_page_job_0"/>
        <field name="comment_label">Other</field>
        <field eval="1" name="in_visible_rating_weight"/>
        <field eval="0" name="allow_comment"/>
    </record>

    <record id="survey_answer_job_81" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">0 - 15</field>
        <field name="question_id" ref="survey_question_job_5"/>
        <field eval="1" name="sequence"/>
    </record>
    <record id="survey_answer_job_82" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">16 - 20</field>
        <field name="question_id" ref="survey_question_job_5"/>
        <field eval="2" name="sequence"/>
    </record>
    <record id="survey_answer_job_83" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">21 - 30</field>
        <field name="question_id" ref="survey_question_job_5"/>
        <field eval="3" name="sequence"/>
    </record>
    <record id="survey_answer_job_84" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">31 - 40</field>
        <field name="question_id" ref="survey_question_job_5"/>
        <field eval="4" name="sequence"/>
    </record>
    <record id="survey_answer_job_85" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">41 - 50</field>
        <field name="question_id" ref="survey_question_job_5"/>
        <field eval="5" name="sequence"/>
    </record>
    <record id="survey_answer_job_86" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">51 - 60</field>
        <field name="question_id" ref="survey_question_job_5"/>
        <field eval="6" name="sequence"/>
    </record>
    <record id="survey_answer_job_87" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">61 - 70</field>
        <field name="question_id" ref="survey_question_job_5"/>
        <field eval="7" name="sequence"/>
    </record>
    <record id="survey_answer_job_88" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">71 +</field>
        <field name="question_id" ref="survey_question_job_5"/>
        <field eval="8" name="sequence"/>
    </record>

    <record id="survey_question_job_6" model="survey.question">
        <field name="in_visible_answer_type">1</field>
        <field name="validation_type">do_not_validate</field>
        <field name="comment_valid_type">do_not_validate</field>
        <field name="make_comment_field_err_msg">Please enter a comment.</field>
        <field name="numeric_required_sum_err_msg">The choices need to add up to [enter sum here].</field>
        <field eval="0" name="comment_column"/>
        <field name="validation_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="rating_allow_one_column_require"/>
        <field name="req_error_msg">This question requires an answer.</field>
        <field eval="3" name="sequence"/>
        <field name="question">Experience</field>
        <field eval="0" name="is_require_answer"/>
        <field name="type">comment</field>
        <field name="comment_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="make_comment_field"/>
        <field eval="1" name="in_visible_menu_choice"/>
        <field name="page_id" ref="survey_page_job_1"/>
        <field name="comment_label">Other</field>
        <field eval="1" name="in_visible_rating_weight"/>
        <field eval="0" name="allow_comment"/>
    </record>
    <record id="survey_question_job_7" model="survey.question">
        <field name="in_visible_answer_type">1</field>
        <field name="validation_type">do_not_validate</field>
        <field name="comment_valid_type">do_not_validate</field>
        <field name="make_comment_field_err_msg">Please enter a comment.</field>
        <field name="numeric_required_sum_err_msg">The choices need to add up to [enter sum here].</field>
        <field eval="0" name="comment_column"/>
        <field name="validation_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="rating_allow_one_column_require"/>
        <field name="req_error_msg">This question requires an answer.</field>
        <field eval="4" name="sequence"/>
        <field name="question">Activities</field>
        <field eval="0" name="is_require_answer"/>
        <field name="type">comment</field>
        <field name="comment_valid_err_msg">The comment you entered is in an invalid format.</field>
        <field eval="0" name="make_comment_field"/>
        <field eval="1" name="in_visible_menu_choice"/>
        <field name="page_id" ref="survey_page_job_1"/>
        <field name="comment_label">Other</field>
        <field eval="1" name="in_visible_rating_weight"/>
        <field eval="0" name="allow_comment"/>
    </record>
    <record id="survey_question_column_heading_job_0" model="survey.question.column.heading">
        <field eval="1" name="in_visible_menu_choice"/>
        <field name="title">Not important</field>
        <field eval="1" name="in_visible_rating_weight"/>
        <field name="question_id" ref="survey_question_job_1"/>
    </record>
    <record id="survey_question_column_heading_job_1" model="survey.question.column.heading">
        <field eval="1" name="in_visible_menu_choice"/>
        <field name="title">Somewhat important</field>
        <field eval="1" name="in_visible_rating_weight"/>
        <field name="question_id" ref="survey_question_job_1"/>
    </record>
    <record id="survey_question_column_heading_job_2" model="survey.question.column.heading">
        <field eval="1" name="in_visible_menu_choice"/>
        <field name="title">Important</field>
        <field eval="1" name="in_visible_rating_weight"/>
        <field name="question_id" ref="survey_question_job_1"/>
    </record>
    <record id="survey_question_column_heading_job_3" model="survey.question.column.heading">
        <field eval="1" name="in_visible_menu_choice"/>
        <field name="title">Very important</field>
        <field eval="1" name="in_visible_rating_weight"/>
        <field name="question_id" ref="survey_question_job_1"/>
    </record>
    <record id="survey_question_column_heading_job_4" model="survey.question.column.heading">
        <field eval="1" name="in_visible_menu_choice"/>
        <field name="title">Most important</field>
        <field eval="1" name="in_visible_rating_weight"/>
        <field name="question_id" ref="survey_question_job_1"/>
    </record>
    <record id="survey_answer_job_0" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">Good pay</field>
        <field name="question_id" ref="survey_question_job_1"/>
        <field eval="1" name="sequence"/>
    </record>
    <record id="survey_answer_job_1" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">Getting on with colleagues</field>
        <field name="question_id" ref="survey_question_job_1"/>
        <field eval="2" name="sequence"/>
    </record>
    <record id="survey_answer_job_2" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">Office environment (décor, light, space etc)</field>
        <field name="question_id" ref="survey_question_job_1"/>
        <field eval="3" name="sequence"/>
    </record>
    <record id="survey_answer_job_3" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">Desk space</field>
        <field name="question_id" ref="survey_question_job_1"/>
        <field eval="4" name="sequence"/>
    </record>
    <record id="survey_answer_job_4" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">State of the art technology</field>
        <field name="question_id" ref="survey_question_job_1"/>
        <field eval="5" name="sequence"/>
    </record>
    <record id="survey_answer_job_5" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">Office location (proximity to home)</field>
        <field name="question_id" ref="survey_question_job_1"/>
        <field eval="6" name="sequence"/>
    </record>
    <record id="survey_answer_job_6" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">Good management/boss</field>
        <field name="question_id" ref="survey_question_job_1"/>
        <field eval="7" name="sequence"/>
    </record>
    <record id="survey_answer_job_7" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">Freebies such as tea, coffee and stationery</field>
        <field name="question_id" ref="survey_question_job_1"/>
        <field eval="8" name="sequence"/>
    </record>
    <record id="survey_answer_job_8" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">Perks such as free parking, gym passes etc</field>
        <field name="question_id" ref="survey_question_job_1"/>
        <field eval="9" name="sequence"/>
    </record>
    <record id="survey_answer_job_9" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">No out of hours working</field>
        <field name="question_id" ref="survey_question_job_1"/>
        <field eval="10" name="sequence"/>
    </record>
    <record id="survey_answer_job_10" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">Dress code</field>
        <field name="question_id" ref="survey_question_job_1"/>
        <field eval="11" name="sequence"/>
    </record>
    <record id="survey_answer_job_11" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">Regular meetings</field>
        <field name="question_id" ref="survey_question_job_1"/>
        <field eval="12" name="sequence"/>
    </record>
    <record id="survey_answer_job_12" model="survey.answer">
        <field name="in_visible_answer_type">1</field>
        <field name="answer">Good social life (office nights out, good Christmas parties etc)</field>
        <field name="question_id" ref="survey_question_job_1"/>
        <field eval="13" name="sequence"/>
    </record>
   
    <record id="mail_alias_jobs" model="mail.alias">
        <field name="alias_name">jobs</field>
        <field name="alias_model_id" ref="model_hr_applicant"/>
        <field name="alias_user_id" ref="base.user_root"/>
    </record>

    <!-- Job-related subtypes for messaging / Chatter -->
    <record id="mt_job_new_applicant" model="mail.message.subtype">
        <field name="name">New Applicant</field>
        <field name="res_model">hr.job</field>
    </record>
    <!-- Applicant-related subtypes for messaging / Chatter -->
    <record id="mt_stage_changed" model="mail.message.subtype">
        <field name="name">Stage Changed</field>
        <field name="res_model">hr.applicant</field>
        <field name="default" eval="False"/>
        <field name="description">Stage changed</field>
    </record>
    <record id="mt_applicant_hired" model="mail.message.subtype">
        <field name="name">Applicant Hired</field>
        <field name="res_model">hr.applicant</field>
        <field name="default" eval="False"/>
        <field name="description">Applicant hired</field>
    </record>
    <record id="mt_applicant_refused" model="mail.message.subtype">
        <field name="name">Applicant Refused</field>
        <field name="res_model">hr.applicant</field>
        <field name="default" eval="False"/>
        <field name="description">Applicant refused</field>
    </record>

</data>
</openerp>
