Monday, September 2, 2024
2 changes · master
Resolved issues and error corrections
Planning schedules now better reflect employee contract status when showing available and unavailable working periods. This helps planners see more accurate availability around draft, active, expired, or cancelled contracts, reducing scheduling mistakes.
Original PR description
In this commit we have made some changes regarding how contracts affect the planning schedule and added some test cases in HOOT. task:3815229
Payroll batches now return to the confirmed state when payslips are regenerated for the same employees after being set back to draft. Users with batch accounting enabled also get easier access to the related journal entry, reducing confusion and extra navigation.
Original PR description
-steps to reproduce: create a batch, generate the payslips, set the batch back to draft, regenerate the payslips (with the same employees). -what is the bug: the state of the batch is not set to 'confirmed' after the second generation of payslips. -expected behaviour: the batch should be in confirmed state. -fix: if regenerating with the same employees, nothing is actually done, it should at least set the batch in confirmed state. Also add a button to get to the journal entry if the setting 'Batch Account Move Lines' is enabled. Task: 3975654