[IMP] hr: job position: better state help + job positions are now open by default.
This commit is contained in:
committed by
Thibault Delavallée
parent
1d230f1222
commit
b98b3b6d95
+2
-2
@@ -122,13 +122,13 @@ class hr_job(osv.Model):
|
||||
'state': fields.selection([('open', 'Recruitment Closed'), ('recruit', 'Recruitment in Progress')],
|
||||
string='Status', readonly=True, required=True,
|
||||
track_visibility='always', copy=False,
|
||||
help="By default 'Closed', set it to 'In Recruitment' if recruitment process is going on for this job position."),
|
||||
help="Set whether the recruitment process is open or closed for this job position."),
|
||||
'write_date': fields.datetime('Update Date', readonly=True),
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
'company_id': lambda self, cr, uid, ctx=None: self.pool.get('res.company')._company_default_get(cr, uid, 'hr.job', context=ctx),
|
||||
'state': 'open',
|
||||
'state': 'recruit',
|
||||
}
|
||||
|
||||
_sql_constraints = [
|
||||
|
||||
Reference in New Issue
Block a user