feat(Working Time): whole day timesheets#24
Conversation
Confidence Score: 5/5Safe to merge — the whole-day billing path is well-isolated, the shared insert_timesheet refactor is a clean extraction with no behavior change for existing flows, and the DocType JSON follows correct Frappe conventions. The core logic correctly partitions logs, fixes billing hours to 8, and falls back to hourly rate when no day rate is configured. The two findings are edge-case quality issues that do not affect normal usage. working_time/working_time/doctype/working_time/working_time.py — the billing rate selection and empty-log handling in create_whole_day_timesheet.
|
|
Design discussed and approved with @PatrickDEissler |
|
🎉 This PR is included in version 15.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [15.5.0](alyf-de/working_time@v15.4.1...v15.5.0) (2026-06-11) ### Features * **Working Time:** whole day timesheets ([alyf-de#24](alyf-de#24)) ([470f9f2](alyf-de@470f9f2))
Adds support for projects that are billed at a fixed day rate instead of by the hour.
Changes
WorkingTime.insert_timesheetto avoid duplication between regular and whole-day timesheets.Time logs for other projects are aggregated and billed as before.