Shifts/Reports: `locked` field migration
@zakriya057 is already working on this.
Since May 14, 2025.
Assessment
This issue has not been assessed yet.
Description
So far the locked field signals whether a month is already locked and the report is archieved in the time vault.
However i have the impression that we should change that so that
-
Migrate Field
lockedfromShifttoReport(Includes data migration sigh) -
Refactor the validation of
ShiftSerializerto check whether the monthsReportinstance is already locked -
Refactor
lock_shifts()Endpoint ofContractViewSetto setlockedstatus on Report rather than shifts -
Refactor all Querries that access
lockedfield of Shifts to now accesslockedof Report
- Dominant language
- Python
- Stars
- 0
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ClockGU/clock-backend
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ClockGU/clock-backend#467 ·
-
feature proposal
Difficulty 3/5 1-2 days Newbie friendliness 55/100
ClockGU/clock-backend#451 · 2 comments ·
-
:bug: Bug help wanted
Difficulty 3/5 1-2 days Newbie friendliness 45/100
ClockGU/clock-backend#435 ·
-
:bug: Bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
ClockGU/clock-backend#433 · 1 comment · 1 reaction ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
ClockGU/clock-backend#412 ·
All issues in ClockGU/clock-backend
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
stephrobert/dsoxlab#238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
sublimehq/package_control#1780 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
nwg-piotr/nwg-displays#145 ·