Tuesday, June 14, 2022
21 changes · master
Enhancements to existing features
Newly registered external users now see a helpful landing page when no customer portal is available, avoiding a confusing blank screen. This improves signup flows for apps like Surveys that may need accounts without enabling the full portal, and adds consistency checks around user access classification.
Original PR description
When portal is not installed and `auth_signup.invitation_scope` is "b2c", visitors can create an account, leading to a blank page. Still, accounts can be required for several use cases in apps that do not require portal (such as survey). We here add a landing page for users that created an account but have no requested redirections and cannot be redirected to a customer portal either. Tests are added to check this behavior. auth_signup_uninvited is also updated in model to be consistent with config data. The PR also adds a `_is_internal` method for `res.users` and updates the codebase to use it. Task-2762102 See odoo/enterprise#27603
This update improves how Odoo Mail tracks and displays people in chat channels. It creates a clearer internal structure for channel members, helping make member lists and related chat behavior more reliable and easier to maintain.
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
Payment tokens are now kept in sync with payment provider settings. Test tokens are disabled when a provider goes live, and all tokens are disabled when tokenization is turned off or the provider is disabled, reducing the risk of outdated saved payment methods being used.
Original PR description
Improve token management when changing the acquirer state or disallowing tokenization. Test tokens shouldn't stay active on an enabled acquirer and no tokens should be active if either the user disallows tokenization or disable the acquirer. task-2649806
Partner contact views have been refined to make key information and activities easier to find and use. The update also clarifies address options, distinguishes removing a contact from a company versus deleting it, and marks archived contacts more visibly.
Original PR description
SPECIFICATION Various change for the partner view: - Moved the activity widget to the bottom right of the kanban - Moved the informations badge to the bottom right next to the activity widget and made them clickable - Change the address options order and add a small help below - Change the 'Remove' button function from delete to remove from the company and add a delete button to the right end. - Correct some typo - Add an 'Archived' ribbon to the kanban card - Change various small things LINKS Task-2821356 -- 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 Timesheets app now includes clearer filters for viewing entries by invoicing method, such as milestone-based or manual billing. Demo data was also added so users can better understand and test these billing scenarios, making timesheet analysis easier for sales and service teams.
Original PR description
Purpose of this PR is to do generic improvement in timesheet app. So, in this PR: - add new filters for different invoice types in the timesheet search view. - add demo data for different invoice types in the timesheet.
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 how dynamic website snippets are removed in the editor. It should make editing pages feel faster and smoother when users delete these reusable content blocks.
The online shop now only shows categories that contain products matching the current search and filters, helping shoppers navigate more relevant options. Businesses can also choose to display product counts next to categories, while a technical category ordering field is hidden from normal users.
Original PR description
Previously all the categories where visible even if there was no product inside. now we only display categories with products inside. We now take the search and filters into account to display only categories with products inside. It is now possible to add the number of products in the category next to it, it is an option in the customize. E-Commerce categories sequence in the form view only appear in debug now task-2002125 -- 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.
Project pages now hide the Contracts button when there are no related contracts, reducing visual clutter for users. Gantt schedule views in field service and planning also show clearer date information, making short and cross-period tasks easier to understand at a glance.
Original PR description
Before this commit, the 'contracts' stat button is visible even though the nb of records is 0. In this commit, we hide the 'contracts' stat button if the nb of records is 0. task-2672783 PR: #22272
This update lets social managers revoke and remove connected YouTube accounts, helping organizations better control access. It also adjusts YouTube reporting and post displays to meet audit requirements and support higher API quota eligibility, while improving privacy controls and fixing related posting and refresh issues.
Original PR description
Purpose ======= Add a wizard to revoke the access token of an account and delete it after. Only the social manager can perform this action, as it's the only one with right access on the social accounts. Improve the UI for the posts and stream posts. Show the likes / dislikes ratio instead of showing the number of likes / dislikes. In order to be "audit compliant" and to increase our API quota, we remove the duration of the videos from the stream post Kanban view. Task-2744125
The demo data for Field Service has been expanded with more realistic projects, tasks, worksheets, timesheets, sales orders, activities, tags, and archived examples. This makes demonstrations and testing easier by covering more day-to-day service scenarios out of the box.
Original PR description
this PR was replaced by https://github.com/odoo/enterprise/pull/28299
Improves the timesheet grid experience with clearer empty-value labels, better timer button alignment, and notifications when newly added timesheets fall outside the current grid range. These changes make timesheet entry easier to understand and reduce confusion for users working in grid views.
Original PR description
Purpose of this PR is to do generic improvement in the timesheet app. So, in this PR: - improve addLine event code to easily override its content without overriding the whole method. - show a notification when the user creates a timesheet from add a line dialog box from grid and the timesheet doesn't fall in grid_range. - align timer buttons to the center of the kanban card in the timesheet kanban view. - change the empty value label from 'Undefined' to 'None' in the grid view. task-2816490
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
The spreadsheet selector now shows existing spreadsheets as a preview list, making it easier for users to identify and choose the right spreadsheet. This improves usability when inserting or linking spreadsheet content from documents, lists, and pivots.
Original PR description
Task-id 2856740
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.