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

Module: Resource

Entity: resource.calendar.attendance

Compute Method: _compute_hours

Inputs Method Outputs
for attendance in self:
            if attendance.duration_based:
                attendance.hour_from = attendance.hour_to = 0

Back to entity