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

Module: Employees

Entity: hr.employee.public

Compute Method: _compute_hours_per_day

Inputs Method Outputs
for employee in self:
            employee.hours_per_day = employee.sudo().resource_calendar_id.hours_per_day

Back to entity