[IMP] hr_recruitment: switched job state selection order
authorJigar Patel <jat@openerp.com>
Mon, 29 Sep 2014 12:48:48 +0000 (18:18 +0530)
committerThibault Delavallée <tde@openerp.com>
Fri, 10 Oct 2014 12:48:17 +0000 (14:48 +0200)
addons/hr/hr.py

index 6e81dbd..2247039 100644 (file)
@@ -119,7 +119,7 @@ class hr_job(osv.Model):
         'requirements': fields.text('Requirements'),
         'department_id': fields.many2one('hr.department', 'Department'),
         'company_id': fields.many2one('res.company', 'Company'),
-        'state': fields.selection([('open', 'Recruitment Closed'), ('recruit', 'Recruitment in Progress')],
+        'state': fields.selection([('recruit', 'Recruitment in Progress'), ('open', 'Recruitment Closed')],
                                   string='Status', readonly=True, required=True,
                                   track_visibility='always', copy=False,
                                   help="Set whether the recruitment process is open or closed for this job position."),