Tuesday, June 14, 2022
9 changes · master
Enhancements to existing features
This update makes Odoo's dialog service available in older web interface components. It helps keep legacy screens compatible with newer interface capabilities, reducing friction for future improvements.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The mail module now uses a standard built-in escaping tool instead of a custom one. This reduces duplicate code and helps keep message-related display behavior easier to maintain without changing day-to-day user workflows.
Original PR description
We instead use the standard owl.utils.escape. This allows having less custom implementations of escaping and rely on existing tools. Task-2622893 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update separates how Odoo tracks web controllers from how it builds routing maps, making the web request system easier to evolve. It lays groundwork for future improvements such as websocket support while keeping current website behavior stable.
Original PR description
Some ideas for websocket...
The CRM helper text is improved for users who are not assigned to a sales team. When users have the right permissions, the message now includes a direct link to the sales team setup area, making it easier to resolve the issue and start using their pipeline.
Original PR description
In the current version, the wording of the helper in CRM does not have a hyperlink to redirect to the sales team if the user does not have a member of any sales team. This commit Improve the wording of the helper and also add the hyperlink to redirect the sales team if the user does not have a member of any sales team and has enough access rights. task-2846401 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves internal test tools so they now report an error when a simulated user action targets something hidden on the page. This helps developers spot faulty tests faster and reduces the risk of unclear failures during quality checks.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Automated tests were adjusted to match a stricter validation behavior in Odoo's test tools. This helps ensure hidden interface elements are not incorrectly used during testing, improving confidence in future changes without affecting end users directly.
Original PR description
This commit is the counter part of odoo/odoo#93549 which makes the triggerEvent test utils throw an error if the target is invisible. Due to this change of behavior, some tests needed to be adapted.
Several Odoo apps now use a shared internal-user check instead of repeating the same group check. This keeps behavior consistent across appointment scheduling, documents spreadsheets, and VoIP while reducing maintenance risk.
Original PR description
`_is_internal` is now used in the codebase where it is clear that
`.has_group('base.group_user')` was called on a single record.
Part of Task-2762102
See odoo/odoo#85703The Belgian reports module no longer shows a broken web link in the citizen identification help text. This avoids confusing users with a link that led to a missing page and could not be easily clicked or copied from the help popup.
Original PR description
SPECIFICATION Currently the link in the citizen identification help attribute leads to a 404 page and even if it worked it's not possible for one to click on it nor copy it since it's displayed in the help popup. It's thus removed from the help. LINKS Task-2821356
Social posts and comments now display more cleanly, with fewer unwanted spaces around content such as emojis and better handling of long links. The update also improves how links and hashtags are recognized, helping posts remain readable and clickable while preserving existing URL parameters.
Original PR description
@ validators & reviewers: I added a minor change since I spotted unnecessary spaces within the social.post kanban rendering. Could be merged in rebase-ff. Tell me if you want me to split PRs / tasks.