Thursday, November 2, 2023
4 changes · master
Enhancements to existing features
Employee public profiles now show the work location in both list and form views. This makes it easier for users to quickly see where employees are working from without opening additional records or searching elsewhere.
Original PR description
In this PR, work location field is added to the list and form view of the hr.employee.public task-3544625
The web editor link tests were updated to cover the real ways users create links, including typing a URL, using the toolbar, and using the command menu. This helps ensure link creation works consistently and reduces the risk of regressions in editing content.
Original PR description
Specification: -The tests are not testing the actual OdooEditor behavior, but the `editorCommands.createLink()` function (which is not used anywhere). -`CreateLink` method was a dead code. -No test cases were there for dialog box based link creation. Cases Covered: -typing url + space -selecting text and link button on the toolbar -powerbox based link creations. task-3087957
The project portal task list no longer defaults to grouping tasks by project in the shared documents context. This keeps the task view simpler for portal users and prepares the layout so related document features can customize it more easily.
Original PR description
This PR removes the changes that were made in project to allow grouping the tasks by project when viewing the tasks of a project with shared documents in the portal. It also makes some changes to the task list template to allow for easier overrides in documents_project. See the enterprise PR for more details. Enterprise: https://github.com/odoo/enterprise/pull/47703 Task-3438493
Portal users viewing tasks for a project with shared documents will now see tasks grouped by stage by default, matching the usual project experience. The Documents button remains available, but is shown alongside the first stage instead of requiring tasks to be grouped by project.
Original PR description
Since 16.0, when viewing the tasks of a project with shared documents in the portal, the tasks are grouped by project to allow displaying the "Documents" button. However, it doesn't make much sense to group by project if there is only a single project. This PR changes the default groupby to be by stage, like for all the other projects, and adds the button next to the first stage instead. Community: https://github.com/odoo/odoo/pull/136126 Task-3438493