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

Module: Attendances

Entity: hr.attendance

Compute Method: _compute_expected_hours

Inputs Method Outputs
for attendance in self:
            attendance.expected_hours = attendance.worked_hours - attendance.overtime_hours

Back to entity