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

Module: HR Timesheet Sheet

Entity: hr_timesheet.sheet

Compute Method: _compute_total_time

Inputs Method Outputs
for sheet in self:
            sheet.total_time = sum(sheet.mapped("timesheet_ids.unit_amount"))

Back to entity