Monday, September 16, 2024
4 changes
2 changes
Resolved issues and error corrections
Project notification emails now keep the View Project button visible for internal users. The button is only hidden from customer portal recipients when the project is private, helping staff access project details directly from email while preserving intended customer visibility rules.
Original PR description
Before this commit, due to 715d6be, the `View Project` button in the email sent even if the receiver is an internal user, which is not really expected. This commit makes sure the button is only hidden for the customer portal when the project is private. X-Original-Commit: 715d6be Forward-port of #180257
Opening a CRM lead directly from a link now keeps the breadcrumb trail accurate, including the option to return to the broader list of records. This helps users navigate consistently when actions are launched indirectly in Odoo.
Original PR description
Before this commit when opening a CRM Lead from the URL, the breadcrumb doesn't show the multi-record controller. This occurs, because the CRM action is a server action that returns a window action, and the lazy controller is never created. Now, the lazy controller is correctly created also for the server actions.
2 changes
Resolved issues and error corrections
A small cleanup stops the spreadsheet edition from trying to translate a blank piece of text. This avoids noisy warnings in automated logs without changing how users interact with spreadsheets.
Original PR description
Trying to extract the translation of an empty string will throw a warning (https://github.com/python-babel/babel/blob/master/babel/messages/extract.py#L356) (Can be observed in `test_only` logs of bundle `testing post_install from auth_totp to microsoft_outlook`) This commit removes the translation of the empty string.
This change updates an internal performance test for the appointment app to match the current expected database query count. It helps keep automated checks accurate so teams can detect real performance regressions without false alarms.
Original PR description
task-4141409