Tuesday, November 5, 2024
1 change · saas-17.2
Resolved issues and error corrections
Fixed timesheet reports so they show only tasks or subtasks that actually have recorded time. This prevents empty parent tasks from appearing and makes subtask entries easier to trace back to their origin.
Original PR description
Steps to reproduce: - Project app > New Project > New Task - On Task > Subtask tab > Add subtask > Save - On Subtask > Timesheets tab > Record a timesheet - On task > Print timesheets The report shows a line for Task with no timesheets in saas-17.2 and saas-17.4, while it is completely blank in 18.0 (Due to an extra condition added in https://github.com/odoo/odoo/pull/178397). We'd expect only tasks with recorded timesheets to be on the report, regardless of whether their parent tasks are there or not. Additionally, since subtasks can now appear without parent, the titles have been updated to make tarcking subtask origin easier. opw-4292481 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr