Wednesday, March 12, 2025
12 changes · master
Enhancements to existing features
The HTML editor can now skip its built-in content migration process when another part of Odoo already handles migrations. This reduces duplicate processing for upcoming website changes while keeping the migration capability available when needed.
Original PR description
In preparation of `website` refactoring to use `html_editor`. `website` already has its own migration features, which would make the `EditorVersion` Plugin and editor html migrations through the `HtmlUpgradeManager` redundant. That feature is therefore made optional: Use the HtmlField option to prevent the migration if necessary. `EditorVersion` Plugin is moved from `CORE_PLUGINS` to `EXTRA_PLUGINS` and won't be packaged by default with the editor. `upgrade` functions are renamed `migrate` to be more consistent with the `migrate` function of the classic Odoo `upgrade` repository.
This change updates parts of the Discuss call interface in the Mail app. It appears to be a small user interface adjustment intended to improve the call experience, with limited business impact based on the available information.
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
Project dashboard cards have been adjusted to use their space more efficiently by removing unnecessary left indentation. Icons are also better aligned, making project information easier to scan at a glance.
Original PR description
Before this commit, the kanban card of project.project model got a indentation to be able to have the content aligned with the project name. The downside is the space on the left side it is a bit lost. This commit reviews a bit the kanban card to first remove the indentation and second aligns a bit the icons together.
This update cleans up leftover tax-related fields that were no longer used after a previous change was reverted. It reduces confusion in sales discounts and loyalty reward setup without changing business workflows.
Original PR description
Commit fc82d7db8caf8e56defd0410e77a216c24defd06 reverting commit db12319e8b3b662a1498ee9a519fbced457174cc arrived in master and was merged as is, forgetting to remove to now useless fields. See also: - https://github.com/odoo/upgrade/pull/7368
The website discovery snippet now uses standard layout columns so content is arranged more consistently. This makes it easier to configure and prevents newly added content from unexpectedly stretching across the full page width.
Original PR description
This commit aims to improve the layout of the `s_discovery` snippet by making use of `col-*` and `col-lg-*` classes. Prior to this commit, the `s_discovery` snippet was not using any `col` classes, meaning that you neded to use `<br/>` to create the desired layout. This would also cause some issues within the configurator where the new content would take the whole width. To prevent this, we simply define `col-*` classes. task-4212913 part of task-4177975 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update streamlines how Odoo builds database queries by avoiding unnecessary checks on fields that must always have a value. It also protects custom required fields during upgrades, reducing the risk of database constraint changes and improving reliability.
Original PR description
When generating SQL, skip NULL checks for required fields. We reduce the generated SQL for these cases. task-4415011 https://github.com/odoo/enterprise/pull/75968 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The online shop editor no longer shows unnecessary arrow edit icons when creating or setting product badges and ribbons. This makes the editing experience cleaner and less confusing for website managers.
Original PR description
Basically this is the second part of the task. The first part was the bug so it solved in these PR : https://github.com/odoo/odoo/pull/168265 Step to reproduce: - Go to the Shop page on the website - Enable edit mode - Pick a product and create a new Badge/Ribbon - There are the edit icons(Arrow) Before this commit: When we try to set the ribbon we find that there is "Edit" icon (arrow). After this commit: Removed the "Edit" icons (arrow). task-3964071
The CRM module's automated tests were updated to a newer testing framework. This helps maintain product quality and makes future CRM changes safer, without changing day-to-day user functionality.
Original PR description
task-4028356
The Knowledge comments feature has been adjusted to work with the updated editor toolbar. This keeps comment-related actions available and properly described as the toolbar moves to a compact, expandable layout.
Original PR description
The following changes have been made in the toolbar in html_editor: - the `namespace` parameter in the toolbar item definition has been changed to `namespaces`, supporting multiple namespaces for a toolbar group or item. - the toolbar opens in a compact mode, with a small subset of buttons, and can be expanded to display a larger set of buttons (namely those in the "expanded" namespace). - the `title` parameter has been replaced with `description`, which is used to define the content of the tooltip displayed when hovering over the item. This commit adapts the Comments plugin to these changes. Community: https://github.com/odoo/odoo/pull/201037 task-4535289
Budget report queries were adjusted to skip unnecessary checks on fields that are always empty in the temporary budget data. This helps the reporting system avoid redundant work and supports more efficient budget report generation without changing what users see.
Original PR description
To allow to ORM to remove SQL checks for null values. When querying the temporary budget table, some required fields are set to NULL. We should ignore the conditions on these fields as they are constant anyways. task-4415011 https://github.com/odoo/odoo/pull/191236
The schedule interview email template is now included by default instead of only in demo data. This helps Recruitment users follow the documentation and find the expected template in their own databases without extra setup.
Original PR description
The schedule interview mail template was part of the demo data only. Odoo clients following the Recruitment app docs were not able to find the template in their DBs. So, this commit makes it part of the default data, to stay consistent with the documentation. task-4637146
The Knowledge app no longer carries an old internal export that has moved to the shared HTML editor. This keeps the codebase cleaner and aligns naming with standard Odoo migration practices, with no expected change for end users.
Original PR description
`HtmlUpgradeManager` was exported from the `knowledge` module for historical reason. This commit removes that file (`HtmlUpgradeManager` is now in `html_editor` module). `upgrade` functions are renamed `migrate` to be more consistent with the `migrate` function of the classic Odoo `upgrade` repository.