ClockGU/clock-backend

Automated break subtraction not valid for vacation shifts

Offen

#435 geöffnet am 27.01.2026

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (4 Forks)auto 404
:bug: Bughelp wanted

Repository-Metriken

Stars
 (0 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

While automatically substracted breaks (e.g. 30 min after 6h) are not counted as worktime, they appear to be for vacation shifts.

Steps to reproduce

  1. Set up a contract
  2. Manually create a vacation type shift from 8:30 until 17:00
  3. Check the vacation panel in the Report/Timesheet view → 8:30 h of vacation will be shown
  4. change the shift type to normal → 8:00 will be counted in the worktime summary

Workaround for the time being: clock two separate 4h shifts with a break.

Contributor Guide