[FIX] fixed error in selection

bzr revid: tde@openerp.com-20120522152907-l4144h0jz8vpk1cg
This commit is contained in:
Thibault Delavallée 2012-05-22 17:29:07 +02:00
parent a87cba8e39
commit ca063f9782
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ class hr_applicant(crm.crm_case, osv.osv):
'write_date': fields.datetime('Update Date', readonly=True),
'stage_id': fields.many2one ('hr.recruitment.stage', 'Stage'),
'state': fields.related('stage_id', 'state', type="selection", store=True,
selection=hr_recruitment.AVAILABLE_STATES, string="State", readonly=True,
selection=AVAILABLE_STATES, string="State", readonly=True,
help='The state is set to \'Draft\', when a case is created.\
If the case is in progress the state is set to \'Open\'.\
When the case is over, the state is set to \'Done\'.\