Wednesday, April 16, 2025
11 changes · master
Enhancements to existing features
Updates to an employee's manager will now be recorded in the employee history. This helps teams see when reporting lines change and improves accountability for HR records.
Original PR description
- based on feedbacks it is needed to track this field Task: 4723970 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website editors will no longer see unnecessary warnings about menu links when deleting a page or changing its URL. Related menu links are already updated or removed automatically, making the experience clearer while ensuring older menus tied to the same URL stay properly linked.
Original PR description
This PR aims to enhance the user experience by removing the warning message associated with page deletion or URL changes via popover in the website module. The warning, specifically related to the…
This PR aims to enhance the user experience by removing the warning message associated with page deletion or URL changes via popover in the website module. The warning, specifically related to the 'url' in the website menu, will no longer be displayed. Additionally, it ensures that menus are appropriately linked with page sharing the same URL, especially those created before the page itself existed. The reason behind this PR is that the `website.menu` has an ondelete cascade feature that displays unnecessary warnings about website menus. This feature ensures that when changing the URL, all related URLs are automatically updated. Similarly, when deleting pages, associated links are removed. Thus, removing the `url` path from the `search_url_dependencies` eliminates redundant information retrieval from the database. However, when multiple menus share the same URL before the page exists, they are not automatically deleted due to a lack of linkage with page IDs. Therefore, this PR will include page IDs to make sure that when pages are deleted, their related linked menus are also deleted automatically.  task-3757369
Website interaction logic can now restore an element's original content or attributes after dynamic updates. This helps keep interactive pages consistent and reduces the risk of stale visual states when content changes.
Original PR description
This commit introduces a mechanism for Interactions to retrieve the
initial content of an element targeted by a dynamicContent's `t-out` or
`t-att-*` directives.
A constant `this.INITIAL_VALUE` is instantiated on the Interactions and
can be called to reset a value. It could for instance be used like this:
```
dynamicContent = {
_root: {
"t-out": () => this.tOut,
"t-att-class": () => ({
active: this.condition ? this.isActive : this.INITIAL_VALUE,
}),
}
};
setup() {
this.tOut = this.INITIAL_VALUE;
}
onSomeUpdate() {
this.tOut = "Some completely new value";
}
```This change organizes internal code customizations into the proper shared location, making the core system easier to maintain. It should not change day-to-day behavior for users, but it reduces maintenance risk for future updates.
Original PR description
Cleans the places where monkeypatching is done outside of the `monkeypatches` folder.
Point of Sale now uses clearer shared logic when removing zero-quantity order lines during payment, helping keep checkout behavior consistent. The update also improves receipt test utilities, making related validations easier to maintain and reducing future regression risk.
Original PR description
- Added `canBeRemoved` getter to `PosOrderline` model for cleaner zero-qty checks - Updated `PaymentScreen` to use `canBeRemoved` for order line filtering - Added `paymentLineContains` utility in receipt test suite for better validation enterprise PR: https://github.com/odoo/enterprise/pull/80267 task-id: 4501448 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Notifications for newly created discussion threads no longer show the misleading "See all threads" link. This makes the notification clearer and helps users focus on the newly created thread without an irrelevant navigation option.
Original PR description
**Current behavior before PR**: The "See all threads" link appeared in notification when creating a new sub_channel (thread), despite being irrelevant and misleading. **Desired behavior after PR is merged**: The link "See all threads" is removed on new sub_channel (thread) creation, ensuring a clearer and more intuitive experience. **task**-[4656513](https://www.odoo.com/odoo/project/1519/tasks/4656513) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Portal users with edit access to shared projects can now change task colors without running into an access error. This makes shared project workspaces more consistent and lets external collaborators use the same visual organization tools as internal users.
Original PR description
Steps to reproduce: - Install `project` - Create a new `project` and `tasks` within it. - Share the project with the portal user with edit access mode. Issue: - The color picker is not accessible through the portal. Fix: - Change the color field permission from `PROJECT_TASK_READABLE_FIELDS` to `PROJECT_TASK_WRITABLE_FIELDS`. task-4495861 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The point-of-sale IoT customer display is now always enabled, so users no longer encounter an unnecessary configuration error. This reduces setup friction and makes the customer display behavior more predictable for stores.
Original PR description
In this commit: ================ Customer display configuration has been removed from res config settings and is always enabled, the user error is no longer needed and has been removed. Task-4604770 Related Community PR:https://github.com/odoo/odoo/pull/201637 Related Upgrade PR:https://github.com/odoo/upgrade/pull/7386
The product version field in PLM has been repositioned into the traceability section of the product form. This makes version information easier to find alongside related tracking details, improving clarity for manufacturing and product lifecycle users.
Original PR description
Task-4441066
The website generator has been updated to stay compatible with recent changes in the main Odoo website platform. This helps ensure the website setup experience continues to work smoothly for users as the broader system evolves.
Original PR description
See also: - https://github.com/odoo/odoo/pull/201410
The spreadsheet test setup no longer loads chart resources that are already included automatically. This reduces duplicated test preparation work and helps keep internal testing simpler without changing business features.
Original PR description
In the helper `prepareWebClientForSpreadsheet`, we would explicitely load some ChartJs assets to ensure their presence but those are already loaded in the tests assets bundle (the test loads spreadsheet.o_spreadsheet which in turn depends on web.chartjs_lib).