Permalink
Browse files

[IMP] hr_recruitment_survey: clean survey data and make it demo

  • Loading branch information...
tde-banana-odoo committed Dec 5, 2018
1 parent 7398706 commit 2a300fb423b55fe27b916692a00982638db1af81
@@ -13,12 +13,12 @@
'data': [
'security/hr_recruitment_survey_security.xml',
'security/ir.model.access.csv',
'data/survey_survey_data.xml',
'views/hr_job_views.xml',
'views/hr_applicant_views.xml',
'views/res_config_setting_views.xml',
],
'demo': [
'data/survey_survey_demo.xml',
'data/hr_job_demo.xml',
],
'auto_install': False,

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,156 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo><data noupdate="1">
<record id="survey_recruitment_form" model="survey.survey">
<field name="title">Recruitment Form</field>
<field name="stage_id" ref="survey.stage_permanent"/>
<field name="auth_required" eval="True"/>
<field name="users_can_go_back" eval="True"/>
<field name="description" type="html">
<p>
Please answer those questions to help recruitment officers to preprocess your application.
</p></field>
<field name="thank_you_message" type="html">
<p>
Thanks you for answering this survey. We will come back to you soon.
</p></field>
</record>

<!-- Page 1 -->
<record id="survey_recruitment_form_p1" model="survey.page">
<field name="title">About you</field>
<field name="survey_id" ref="survey_recruitment_form"/>
<field name="sequence">1</field>
<field name="description" type="html">
<p>This page holds some information about you.</p></field>
</record>
<record id="survey_recruitment_form_p1_q1" model="survey.question">
<field name="page_id" ref="survey_recruitment_form_p1"/>
<field name="sequence">1</field>
<field name="question">Which country are you from ?</field>
<field name="question_type">textbox</field>
</record>
<record id="survey_recruitment_form_p1_q2" model="survey.question">
<field name="page_id" ref="survey_recruitment_form_p1"/>
<field name="sequence">2</field>
<field name="question">From which university did or will you graduate ?</field>
<field name="question_type">textbox</field>
</record>
<record id="survey_recruitment_form_p1_q3" model="survey.question">
<field name="page_id" ref="survey_recruitment_form_p1"/>
<field name="sequence">3</field>
<field name="question">Did you apply from an employee ?</field>
<field name="question_type">textbox</field>
</record>

<!-- Page 2 -->
<record id="survey_recruitment_form_p2" model="survey.page">
<field name="title">Education, experience and activities</field>
<field name="survey_id" ref="survey_recruitment_form"/>
<field name="sequence">2</field>
<field name="description" type="html">
<p>In this page you can give us details about your education, experiences and activities.</p></field>
</record>
<record id="survey_recruitment_form_p2_q1" model="survey.question">
<field name="page_id" ref="survey_recruitment_form_p2"/>
<field name="sequence">1</field>
<field name="question">Education</field>
<field name="description" type="html">
<p>Please summarize your education history: schools, location, diplomas, ...</p></field>
<field name="question_type">free_text</field>
</record>
<record id="survey_recruitment_form_p2_q2" model="survey.question">
<field name="page_id" ref="survey_recruitment_form_p2"/>
<field name="sequence">2</field>
<field name="question">Past work experiences</field>
<field name="description" type="html">
<p>Please summarize your education history: schools, location, diplomas, ...</p></field>
<field name="question_type">free_text</field>
</record>
<record id="survey_recruitment_form_p2_q3" model="survey.question">
<field name="page_id" ref="survey_recruitment_form_p2"/>
<field name="sequence">3</field>
<field name="question">Knowledge</field>
<field name="description" type="html">
<p>What are your main knowledge regarding the job you are applying to ?</p></field>
<field name="question_type">free_text</field>
</record>
<record id="survey_recruitment_form_p2_q4" model="survey.question">
<field name="page_id" ref="survey_recruitment_form_p2"/>
<field name="sequence">4</field>
<field name="question">Activities</field>
<field name="description" type="html">
<p>Please tell us a bit more about yourself: what are your main activities, ...</p></field>
<field name="question_type">free_text</field>
</record>

<!-- Page 3 -->
<record id="survey_recruitment_form_p3" model="survey.page">
<field name="title">Rate some assertions</field>
<field name="survey_id" ref="survey_recruitment_form"/>
<field name="sequence">3</field>
<field name="description" type="html">
<p>In this page you can rate some assertions allowing to know you a bit more.</p></field>
</record>
<record id="survey_recruitment_form_p3_q1" model="survey.question">
<field name="page_id" ref="survey_recruitment_form_p3"/>
<field name="sequence">1</field>
<field name="question">What is important for you ?</field>
<field name="question_type">matrix</field>
<field name="matrix_subtype">simple</field>
</record>
<record id="survey_recruitment_form_p3_q1_col1" model="survey.label">
<field name="question_id" ref="survey_recruitment_form_p3_q1"/>
<field name="sequence">1</field>
<field name="value">Not important</field>
</record>
<record id="survey_recruitment_form_p3_q1_col2" model="survey.label">
<field name="question_id" ref="survey_recruitment_form_p3_q1"/>
<field name="sequence">3</field>
<field name="value">Important</field>
</record>
<record id="survey_recruitment_form_p3_q1_col3" model="survey.label">
<field name="question_id" ref="survey_recruitment_form_p3_q1"/>
<field name="sequence">4</field>
<field name="value">Very important</field>
</record>
<record id="survey_recruitment_form_p3_q1_row1" model="survey.label">
<field name="question_id_2" ref="survey_recruitment_form_p3_q1"/>
<field name="sequence">1</field>
<field name="value">Having a good pay</field>
</record>
<record id="survey_recruitment_form_p3_q1_row2" model="survey.label">
<field name="question_id_2" ref="survey_recruitment_form_p3_q1"/>
<field name="sequence">2</field>
<field name="value">Getting on with colleagues</field>
</record>
<record id="survey_recruitment_form_p3_q1_row3" model="survey.label">
<field name="question_id_2" ref="survey_recruitment_form_p3_q1"/>
<field name="sequence">3</field>
<field name="value">Having a nice office environment</field>
</record>
<record id="survey_recruitment_form_p3_q1_row4" model="survey.label">
<field name="question_id_2" ref="survey_recruitment_form_p3_q1"/>
<field name="sequence">5</field>
<field name="value">Working with state of the art technology</field>
</record>
<record id="survey_recruitment_form_p3_q1_row5" model="survey.label">
<field name="question_id_2" ref="survey_recruitment_form_p3_q1"/>
<field name="sequence">6</field>
<field name="value">Office location</field>
</record>
<record id="survey_recruitment_form_p3_q1_row6" model="survey.label">
<field name="question_id_2" ref="survey_recruitment_form_p3_q1"/>
<field name="sequence">7</field>
<field name="value">Management quality</field>
</record>
<record id="survey_recruitment_form_p3_q1_row7" model="survey.label">
<field name="question_id_2" ref="survey_recruitment_form_p3_q1"/>
<field name="sequence">8</field>
<field name="value">Having freebies such as tea, coffee and stationery</field>
</record>
<record id="survey_recruitment_form_p3_q1_row8" model="survey.label">
<field name="question_id_2" ref="survey_recruitment_form_p3_q1"/>
<field name="sequence">9</field>
<field name="value">Getting perks such as free parking, gym passes</field>
</record>
</data></odoo>

0 comments on commit 2a300fb

Please sign in to comment.