Daily updates from Odoo
Wednesday, May 28, 2025
2 changes · saas-18.3
Resolved issues and error corrections
This fix prevents an error when portal users open project tasks while the invoicing policy is set to validated timesheets only. It ensures task pages remain accessible in the portal, avoiding a disruptive traceback for customers or external users.
Original PR description
When Invoicing Policy is set to Validated timesheets only, opening tasks in the portal view results in a traceback. Steps to reproduce the error: - Install ``sale_timesheet_enterprise`` - Go to Timesheets > Configuration > Settings > Invoicing Policy: ``Validated timesheets only`` - Switch to Portal View > Open Tasks Traceback: ``` ValueError: Aggregate method is mandatory for 'unit_amount' ``` https://github.com/odoo/enterprise/blob/3cfd66bfaf6a1fd58200b46b0c56330b8d96dcdd/sale_timesheet_enterprise/models/project_task.py#L130 Here, Aggregate method is missing for the ``unit_amount`` field. So, It will lead to the above traceback. sentry-6626038923
Helpdesk tickets now keep their existing action buttons when the live chat button is added. This prevents users from losing quick access to other ticket actions while still allowing them to view related chats.
Original PR description
Before this commit, the adding of View chat stat button has erased the other stat buttons instead of adding the stat buttons after the existing ones in helpdesk.ticket form view. This commit adds the view chat stat button after the other stat buttons displayed instead of replacing them.