Daily updates from Odoo
Tuesday, February 27, 2024
1 change · master
Enhancements to existing features
Portal task pages now calculate time spent using all related timesheets, including entries the portal user cannot directly open. This keeps parent task totals aligned with the business reality while still only showing timesheet links when the user has access to relevant entries.
Original PR description
https://github.com/odoo/enterprise/pull/23315 introduced a change in the portal and project sharing behavior. With this change, the effective hours spent on a task and its subtasks are counted only from the timesheets accessible by the portal user. This behavior is not desired anymore (see task 3423713). A boolean field is however kept to trigger the link to available timesheets for portal user (no link if the user has access to no timesheet from the current task). related-https://github.com/odoo/odoo/pull/128407 task-3423713