Skip to content

fix(Employee): move Expected Daily Working Time to child table (DRC-148)#9

Merged
PatrickDEissler merged 10 commits into
version-15from
drc-148-2
Jul 1, 2025
Merged

fix(Employee): move Expected Daily Working Time to child table (DRC-148)#9
PatrickDEissler merged 10 commits into
version-15from
drc-148-2

Conversation

@PatrickDEissler

@PatrickDEissler PatrickDEissler commented May 14, 2025

Copy link
Copy Markdown
Collaborator

Problem

The Expected Daily Time can change from time to time.
Currently the flexitime calculations relies on a static value (a float field). This can lead to data inconsistencies.

Solution

Use a child table, instead of a float field, that allows date-specific Expected Daily Time.

Follow Up

#8

@barredterra

Copy link
Copy Markdown
Member

@PatrickDEissler shouldn't we merge this one instead? Because we already know that (average) "Expected Daily Working Time" doesn't reflect the reality in most companies. It is common to specify working time for each week day, i.e. in the DATEV's default employee survey:

Bildschirmfoto 2025-05-27 um 19 32 52

Image source: https://www.steuerkanzlei-friedrich.de/data/DATEV-Personalbogen.pdf

The weekdays you are working on is also relevant for knowing what day counts as vacation.

Comment thread time_capture/scripts/employee.py Outdated
Comment thread time_capture/scripts/employee.py Outdated
Comment thread time_capture/patches/move_expected_working_time_to_child_table.py Outdated
Comment thread time_capture/patches.txt
Comment thread time_capture/patches.txt Outdated
@PatrickDEissler
PatrickDEissler merged commit f60cb79 into version-15 Jul 1, 2025
5 checks passed
@PatrickDEissler
PatrickDEissler deleted the drc-148-2 branch July 1, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants