Thursday, June 6, 2024
1 change · 17.0
Resolved issues and error corrections
This fix restores the "Generate Payslips" and "Regenerate Work Entries" buttons that were accidentally hidden in the Payroll work entry view. The buttons disappeared due to a technical issue where system updates were overwriting custom button configurations. This fix ensures users can access these important payroll functions again.
Original PR description
Versions -------- - 17.0 - saas-17.1 - saas-17.2 Issue ----- From Payroll work entry view, the "Generate Payslips" and "Regenerate Work Entries" buttons have gone missing. Cause ----- In commit 4134ed00f6f I added a registry workaround in order to not modify the manifest. When `hr_gantt` gets added, the `workEntriesGanttView` gets updated to its value, but this overwrote the additions from `hr_work_entry_contract_enterprise` itself. Solution -------- Re-include the `Controller`, `Model` and `buttonTemplate` values when updating the registry. opw-3969616