diff --git a/addons/hr/hr.py b/addons/hr/hr.py index 06ea6639f4f..bb2eb16d834 100644 --- a/addons/hr/hr.py +++ b/addons/hr/hr.py @@ -91,7 +91,7 @@ class hr_job(osv.osv): return res _name = "hr.job" - _description = "Job Description" + _description = "Job Position" _inherit = ['mail.thread','ir.needaction_mixin'] _columns = { 'name': fields.char('Job Name', size=128, required=True, select=True), @@ -112,8 +112,8 @@ class hr_job(osv.osv): 'hr.employee': (_get_job_position, ['job_id'], 10), }, multi='no_of_employee'), - 'no_of_recruitment': fields.float('Expected New Employee', help='Number of new employees you expect to recruit.'), - 'no_of_hired_employee':fields.float('Hired Employee', help='Number of hired employees during this recruitment phase.'), + 'no_of_recruitment': fields.float('Expected New Employees', help='Number of new employees you expect to recruit.'), + 'no_of_hired_employee':fields.float('Hired Employees', help='Number of hired employees for this job position during recruitment phase.'), 'employee_ids': fields.one2many('hr.employee', 'job_id', 'Employees', groups='base.group_user'), 'description': fields.text('Job Description'), 'requirements': fields.text('Requirements'), diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index b0b927f9450..66cf97592cf 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -332,6 +332,8 @@
@@ -342,7 +344,6 @@ -
diff --git a/addons/hr_recruitment/hr_recruitment.py b/addons/hr_recruitment/hr_recruitment.py index 749499faab8..e6f6cce70bf 100644 --- a/addons/hr_recruitment/hr_recruitment.py +++ b/addons/hr_recruitment/hr_recruitment.py @@ -402,13 +402,6 @@ class hr_applicant(base_stage, osv.Model): return super(hr_applicant, self).message_update(cr, uid, ids, msg, update_vals=update_vals, context=context) - def create(self, cr, uid, vals, context=None): - obj_id = super(hr_applicant, self).create(cr, uid, vals, context=context) - applicant = self.browse(cr, uid, obj_id, context=context) - if applicant.job_id: - self.pool.get('hr.job').message_post(cr, uid, [applicant.job_id.id], body=_('Applicant created'), subtype="hr_recruitment.mt_job_new_applicant", context=context) - return obj_id - def case_open(self, cr, uid, ids, context=None): """ open Request of the applicant for the hr_recruitment diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index f5a75d34f3c..7b2d9fca145 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -301,6 +301,14 @@ + + + Applications + hr.applicant + kanban,tree,form,graph,calendar + {'search_default_job_id': [active_id], 'default_job_id': active_id} + + hr.job.form1 hr.job @@ -310,13 +318,14 @@ - - - Applications - hr.applicant - kanban,tree,form,graph,calendar - {'search_default_job_id': [active_id], 'default_job_id': active_id} - hr.job.kanban @@ -379,11 +386,11 @@
- + Forecast diff --git a/addons/hr_recruitment/res_config_view.xml b/addons/hr_recruitment/res_config_view.xml index 1fb3bf2aa21..f59d3694f1a 100644 --- a/addons/hr_recruitment/res_config_view.xml +++ b/addons/hr_recruitment/res_config_view.xml @@ -27,7 +27,7 @@
-