Attendance Delta
hr_attendance_delta version 19.0.1.0.1 depends on hr_attendance. It adds the stored, read-only Delta Hours value to every native attendance.
What Delta Hours means
For an attendance with a check-in, Delta Hours is:
current check-in − the most recent completed check-out for the same employee on the same local attendance date
The first attendance of the day has 0.0. An open prior attendance is ignored. The value is the gap between records, not a break classification, overtime result, or a sum of all gaps.
Example: a Work record ends at 12:00 and the next attendance starts at 12:30. The second record has Delta Hours 0.5.
When it updates
The module recomputes same-employee, same-date records after creation, after a change to employee/check-in/check-out, and after deletion. Correcting an earlier record therefore updates later Delta Hours for that day.
Use it
Open Attendances and add Delta Hours to a list or form view. It is most useful for checking an uninterrupted gap before the next attendance. Use Attendance Policy when a configured gap must be evaluated against break rules.
Verify
For a test employee, create a completed attendance and a second attendance that begins 30 minutes later. Confirm 0.5 on the second attendance, then move the first check-out and confirm that Delta Hours changes.