Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Recruitment
Entity: hr.applicant
Compute Method: _compute_date_closed
| Inputs | Method | Outputs |
|---|---|---|
|
for applicant in self:
if applicant.stage_id and applicant.stage_id.hired_stage and not applicant.date_closed:
- applicant.date_closed = fields.datetime.now()
+ applicant.date_closed = fields.Datetime.now()
if not applicant.stage_id.hired_stage:
applicant.date_closed = False
|
|
