Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Project

Entity: project.milestone

Compute Method: _compute_is_deadline_exceeded

Inputs Method Outputs
today = fields.Date.context_today(self)
for ms in self:
            ms.is_deadline_exceeded = not ms.is_reached and ms.deadline and ms.deadline < today

Back to entity