Daily updates from Odoo
Monday, September 2, 2024
3 changes
2 changes
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
1 change
Resolved issues and error corrections
This fix resolves a timing issue that occurred when users left a spreadsheet, where thumbnail saving and data snapshots were happening simultaneously and causing unpredictable errors. The fix ensures these operations happen in the correct sequence, making spreadsheet sessions more stable and reliable.
Original PR description
Steps to reproduce (in odoo) - Open a spreadsheet - do something such that there's a least one revisions - leave the spreadsheet => non-deterministic concurrent update because we save the thumbnail and we snapshot at the same time. I'm able to reproduce more when my laptop power setting is on "performance" compared to "balanced" Task: 4080148