Friday, March 14, 2025
5 changes · master
Enhancements to existing features
This update adds clearer internal typing information to Odoo's core model and field tools, making them easier for developers to understand and use correctly. It does not change business features directly, but supports faster, safer future development and maintenance.
Original PR description
Typing update for models and fields methods. Not yet complete, but a step towards it. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update refreshes the spreadsheet component used in Odoo. It helps keep spreadsheet functionality current and may improve reliability or maintainability for users working with spreadsheets.
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
Duplicated and recurring project tasks will no longer keep assignees whose user accounts have been archived. This keeps new tasks and subtasks assigned only to active users, reducing confusion and manual cleanup for project teams.
Original PR description
Prior to this commit, duplicating or recurring a task results in archived user being assigned to the new task and its associated sub tasks. This change ensures that archived users are excluded from the assignees of the new task and any sub tasks when a task is duplicated or repeated. task-4419770
This update cleans up and streamlines how Odoo prepares and optimizes search filters behind the scenes. It should make repeated filtering operations more consistent and easier for developers to maintain, with little direct change for everyday users.
Original PR description
This introduces a few improvements: - introduce public method `optimize()` to replace `_optimize()` and `_optimize_for_sql()`; the boolean parameter `full` makes the distinction between basic and advanced optimization; - add the attribute `_opt_level` on all `Domain` objects: all optimized domains are flagged with the corresponding optimization level; - simplify the determination of the fixpoint of optimizations; - a few extra code simplifications.
This update aligns internal naming for how project task filters are optimized with a related platform change. It helps keep the Enterprise codebase consistent and maintainable without changing day-to-day user workflows.
Original PR description
Companion of https://github.com/odoo/odoo/pull/201587.