Daily updates from Odoo
Tuesday, June 4, 2024
4 changes · master
Resolved issues and error corrections
The demo employee timesheet data now shows the correct last validated timesheet date. This keeps sample Timesheet records consistent and avoids misleading dates when users explore or test the module.
Original PR description
In the Timesheet Module, we are fixing the data related to the demo employee set, specifically in the last_validated_timesheet_date field. it will result in the last validated timesheet date being returned as 10 days earlier. task-350454
Working schedule hour values in Payroll are now shown in a cleaner time format instead of raw decimal numbers. This makes required full-time hours and weekly hours easier for HR users to read and reduces confusion when reviewing schedules.
Original PR description
full_time_required_hours and hours_per week are no longer displayed as floats. task-3888824
An obsolete setting related to spreadsheet date filters was removed from the code. This reduces maintenance overhead and helps prevent confusion without changing how users work with spreadsheets.
Original PR description
There was still reference on global filter's automaticDefaultValue in the code, but automaticDefaultValue isn't used. This commit removes the dead code. Task: [3956477](https://www.odoo.com/web#id=3956477&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
Saudi Arabia payroll salary rules have been adjusted and expanded to better match required payroll calculations. The update also adds supporting employee, leave, and departure reason data so payroll results are more accurate for affected employees.
Original PR description
Ticket ID: [3215965](https://www.odoo.com/odoo/project.task/3215965?cids=14) Modifications to existing salary rules in KSA payroll + adding some new rules.