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

Module: Helpdesk Ticket Timesheet

Entity: helpdesk.ticket

Compute Method: _compute_last_timesheet_activity

Inputs Method Outputs
for record in self:
            record.last_timesheet_activity = (
                record.timesheet_ids
                and record.timesheet_ids.sorted(key="date", reverse=True)[0].date
            ) or False

Back to entity