Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Employees
Entity: hr.version
Compute Method: _compute_is_past
| Inputs | Method | Outputs |
|---|---|---|
|
- today = fields.Date.today() + today = fields.Date.context_today(self) for version in self: version.is_past = version.date_end and version.date_end < today |
|
