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

Module: Repair Timesheet

Entity: repair.order

Compute Method: _compute_timesheet_total_hours

View 18.0
Inputs Method Outputs
  • timesheet_ids
- for order in self:
-             order.timesheet_total_hours = sum(order.timesheet_ids.mapped("unit_amount"))
  • timesheet_total_hours

Back to entity