Monday, December 27, 2021
5 changes · master
Enhancements to existing features
The mail app’s emoji picker has been renamed from “emojis popover” to “emoji list” in the underlying code and related tests. This makes the feature naming clearer and more consistent for future maintenance without changing how users interact with emojis.
Original PR description
Task-2694206
Odoo now avoids storing the same website and interface view data in two separate caches. This should reduce memory use and unnecessary cache refreshes without changing how users experience the system.
Original PR description
QWeb views are cached two times, first in _compile who itself calls _read_template that is also cached. The result is a 0% HIT rate on _read_template, and all frontend views are two times stored in the cache. Note that _read_template is only used by _compile, and another one in web_studio (that does not need to be cached). So, removing this cache won't impact the CPU performance, but will reuce memory usage and LRU invalidations. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change updates the Mail/Discuss internals to prepare for a newer version of the underlying interface framework. It is a low-risk maintenance improvement intended to keep messaging features compatible and easier to evolve, with no expected change for day-to-day users.
Original PR description
In preparation for using OWL v2 in discuss code. (`shouldUpdateBasedOnProps` will be removed) Task-2695743
The mail module now detects when record creation includes information that does not match a real field, instead of silently ignoring it. This helps catch configuration or integration mistakes earlier and reduces the risk of hidden data issues, while also removing unused code uncovered by the change.
Original PR description
Invalid data provided at record creation were silently skipped by the framework without triggering an error. This commit ensures that data are no longer accidentally filtered and therefore that an error will be raised if a key that does not match an actual field is provided. This commit also removes the dead code that was detected thanks to these changes.
Website editors can now apply transparency effects to mega menus as intended. This improves visual consistency for site designs that use transparent navigation areas, while keeping existing mega menus non-transparent by default.
Original PR description
Make the transparency effect work on mega menus. This effect was not working because the container that contains the mega menu was not transparent. This comes with an upgrade script, see https://github.com/odoo/upgrade/pull/2929 **Task 2623335** -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr