Monday, May 6, 2024
3 changes · master
Resolved issues and error corrections
This fixes an internal test setup issue in the Dutch SBR reporting module caused by an incorrect code rebase. It helps keep automated checks reliable, reducing the risk of unnoticed problems in Dutch tax reporting functionality.
Original PR description
A bad rebase removed the classmethod attribute on the setUpClass runbot-64610
A payroll account test sequence was corrected so the automated checks follow the intended order. This helps keep Belgian payroll account testing reliable and reduces the risk of false test failures during future updates.
Original PR description
This commit fixes wrongly swapped test steps in hr_contract_salary_tour_2
The task portal now uses the correct timesheet hours value when showing subtask totals. This prevents missing or incorrectly formatted hour values for customers viewing project task information online.
Original PR description
Before this commit, due to a bad rebase, the changes made in odoo/odoo#122814 changed `task.subtask_effective_hours` by `timesheets_by_subtask_amount` in span elements inside `hr_timesheet.portal_timesheet_table` but the variable `timesheets_by_subtask_amount` does not exist inside that template. That's why the value cannot be converted by the widget defined for that span element. This commit adapts the template to be sure `task.subtask_effective_hours` is used instead of that variable. runbot-64479