ClockGU/clock-backend

Automated break subtraction not valid for vacation shifts

开放

#435 创建于 2026年1月27日

 (0 条评论) (0 个反应) (0 位负责人)Python (4 个派生)auto 404
:bug: Bughelp wanted

仓库指标

星标
 (0 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南