Currently, when go to project > settings > enable 'sub-tasks' create a task >> add a sub-task and archive the sub-task then the archived sub-task is still displayed in the sub-tasks list so in this commit, removed the active_test context from the field to hide the archived sub-task. also include the timesheet of archived task while calculating the subtask_effective_hours and on click of sub task hour open the timesheet of archived tasks. PS: revert of the commit: https://github.com/odoo/odoo/commit/7a2cba3c8934064b311da4312ef2fbd07c6329ec As we would deduct archived tasks from the count and the number of planning hours, and keep them included in the timesheets. closes odoo/odoo#71719 Taskid: 2534898 X-original-commit: e527ed80e25f638390fd8c56296e690b1630ec49 Related: odoo/enterprise#18744 Signed-off-by: LTU-Odoo <IT-Ideas@users.noreply.github.com> Signed-off-by: Mahendra Barad <mba-odoo@users.noreply.github.com>