rename survey field and add serch default with new and in progress status
bzr revid: tta@openerp.com-20111108102153-p9faeuqr4742fe8w
This commit is contained in:
parent
2393cbcaab
commit
7e4897cdbe
|
@ -473,7 +473,7 @@ class hr_job(osv.osv):
|
|||
_inherit = "hr.job"
|
||||
_name = "hr.job"
|
||||
_columns = {
|
||||
'survey_id': fields.many2one('survey', 'Survey', help="Select survey for the current job"),
|
||||
'survey_id': fields.many2one('survey', 'Interview Form', help="Choose an interview form for this job position and you will be able to print/answer this interview from all applicants who apply for this job"),
|
||||
}
|
||||
hr_job()
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<field name="res_model">hr.applicant</field>
|
||||
<field name="view_mode">tree,form,graph,calendar,kanban</field>
|
||||
<field name="view_id" ref="crm_case_tree_view_job"/>
|
||||
<field name="context">{"search_default_user_id":uid, 'search_default_current': 1,"search_default_department_id": department_id}</field>
|
||||
<field name="context">{'search_default_filter_inprogress':1,'search_default_filter_new':1, 'search_default_current': 1,"search_default_department_id": department_id}</field>
|
||||
<field name="search_view_id" ref="view_crm_case_jobs_filter"/>
|
||||
<field name="help">From this menu you can track applicants in the recruitment process and manage all operations: meetings, interviews, phone calls, etc. If you setup the email gateway, applicants and their attached CV are created automatically when an email is sent to jobs@yourcompany.com. If you install the document management modules, all documents (CV and motivation letters) are indexed automatically, so that you can easily search through their content.</field>
|
||||
</record>
|
||||
|
|
|
@ -218,11 +218,11 @@
|
|||
<field name="type">search</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Jobs">
|
||||
<filter icon="terp-document-new" string="New"
|
||||
<filter icon="terp-document-new" string="New" name="filter_new"
|
||||
domain="[('state','=','draft')]"
|
||||
help="All Initial Jobs"
|
||||
/>
|
||||
<filter icon="terp-camera_test" string="In Progress"
|
||||
<filter icon="terp-camera_test" string="In Progress" name="filter_inprogress"
|
||||
domain="[('state','=','open')]"
|
||||
help="Open Jobs"
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue