Daily updates from Odoo
Tuesday, August 8, 2023
3 changes
Resolved issues and error corrections
This fixes how Belgian payroll handles holiday pay recovery in edge cases, including when the same holiday amount needs to be recovered across two different months. It helps ensure payslips calculate holiday-related deductions more accurately and reduces payroll validation issues.
This change removes an unintended link between the Belgian payroll module and the company car payroll module. It helps prevent setup or update issues for businesses using Belgian payroll without the fleet-related payroll features.
Original PR description
Following this previous PR #enterprise/39804, a dependency on l10n_be_hr_payroll_fleet was introduced in l10n_be_hr_payroll , this is now corrected by removing the onchange on 'new_car' in l10n_be_hr_payroll
The All Timesheets page now respects view changes made in Studio, such as disabling the Pivot view or making the list view the default. This ensures administrators can customize the Timesheets experience as intended without their changes being ignored after reload.
Original PR description
Steps to reproduce ================== - Go to Timesheets > All Timesheets - Open studio - Click on Views - Disable the Pivot view and set the list view type as default - Close studio, reload the page - Nothing changes Cause of the issue ================== Studio edits the action view_mode. Since 0d18fe7c6ceb6fa0aee82d4e4f611f49eefc4993, the pivot view is always at the start and the view_mode is ignored. Solution ======== The goal of the previous commit is to only use the pivot view if there is no type_view. Add back the pivot view to the view_mode. When we need to remove it, simply filter it out. This means that we respect the action view_mode and we allow editing it, but we can still remove the pivot view when needed. opw-3438086