Thursday, December 19, 2024
5 changes · 18.0
Enhancements to existing features
Website routes that only read information now use read-only database resources instead of the main write database. This helps improve performance and scalability for common website traffic without changing what users see or do.
Original PR description
Since [1], the readonly parameter was added to ensure that these endpoints open a cursor on the read-only replica instead of the primary read/write database, enhancing performance and scalability for read-intensive operations. This commit adds 'readonly=True' to routes handling non-modifying requests. task-4357885 [1] https://github.com/odoo/odoo/commit/584a172274caefb23e5d91b609fc893160535416
This update strengthens Odoo's mail testing around realistic email conversations on lead-like records, helping protect current behavior before upcoming email changes. It also prevents notification failures when a customer has an inactive language setting, improving reliability for multilingual customer communication.
Original PR description
PURPOSE
Add an email discussion like flow, on a lead-like model. This allows to
test a full discussion with some real-life use cases and see how it
behaves in current codebase.
Improve tools and asserts while doing so.
Fix an issue when having customer having a lang that is inactive.
NEXT
This is done in 18 in order to assert behavior and also ease future
changes. Indeed email flow is going to change in between Odoo 18 and
19 and it is a good practice to have a flow for the "current behavior"
not only the new one.
Prepares Task-4281157: [mail] Allow to alter email.message To
Prepares Task-4332797: [mail] Partner from emails 3.0
Prepares Task-4286232: [mail] Store email{cc/to} on mail.message
Prepares Task-4273569: [mail] Reply, Quotes, Expand and Forward
Prepares Task-4273479: [mail] Email-like recipientsThis update adds and aligns automated checks for combo product selection in rental, subscription, and website rental flows. It helps ensure customers and sales teams get consistent configurator behavior when choosing bundled or optional products.
Original PR description
This change: - Adds tests for the combo configurator, - Aligns the product configurator tests with the combo configurator ones. Community PR: https://github.com/odoo/odoo/pull/186645 task-4320163
Commission plans now take their active dates into account when comparing plans for the same user. This makes it easier for sales teams to spot overlapping or conflicting plans and keeps commission target totals aligned when target lines are manually updated.
Original PR description
Before this commit, other plans were not computed according to dates. As a result, it ws difficult to see when two plans were conflicting for one user.
The Documents app now brings file and folder information into a single details panel, reducing duplicated panels and making key details easier to find. Users can view relevant information directly without opening a separate dialog, improving day-to-day document navigation and clarity.
Original PR description
There is no need for two information panels, it causes redundancy at best or confusion when looking for a particular info. The purpose of this specification is to refactor this for * better clarity: one panel to show everything relevant * better UX: no need to open a dialog to view the details Technical challenges came from the needs to 1. Support this in stable => workaround to include data for additional fields even if the view is not updated. 2. Support the container folder (when no record is selected), which is not a record loaded by the kanban/list view. See other commits for included fixes Task-4266789