Monday, October 10, 2022
5 changes · master
Enhancements to existing features
This update streamlines how Odoo's messaging-related modules manage internal links between related records. It helps reduce maintenance complexity and supports more consistent behavior across Discuss, Live Chat, Mail, and Snailmail without introducing a visible workflow change for users.
Original PR description
\* = im_livechat, snailmail task-2741402 https://github.com/odoo/enterprise/pull/27282
This update streamlines how chat channel memberships are retrieved, reducing database work and improving performance. It mainly benefits Discuss and Live Chat behind the scenes, with no expected change to user workflows.
Original PR description
* = im_livechat, test_discuss_full Code cleanup, reduce query count, improve query performance. task-2818809
The mail app no longer allows default values on fields used to identify records, removing unnecessary work during record creation. This simplifies internal handling of sound effects and should slightly improve performance without changing normal user workflows.
Original PR description
There is no strong need to have default values on identifying fields, while allowing it adds overhead to every insert. The trade-off is not worth it, therefore this commit removes the support for identifying field default values and simplifies the code of `findFromIdentifyingData` accordingly. Enterprise: https://github.com/odoo/enterprise/pull/32634
VoIP sound effect records now use a single full-path value instead of separate path and filename fields. This internal cleanup reduces unnecessary default-value handling during data creation, helping keep insert operations simpler and more efficient.
Original PR description
Context: We want to get rid of default values on identifying fields, and `SoundEffect/path` is currently the only field to present this pattern. Merging `path` and `filename` fields together makes the default value no longer meaningful, as there is no full path that is shared by multiple records and which would therefore consist of a relevant default value. The point of removing default values from identifying fields is to simplify the code of `findFromIdentifyingData`, which is called by every single insert, so that we no longer have the overhead of looking for default values. This commit adapts the Enterprise code, and especially the VoIP code, to the changes made to the SoundEffect model. Community: https://github.com/odoo/odoo/pull/102912
This update improves how related messages, notifications, previews, approvals, and signing activities stay connected behind the scenes. It helps keep communication and workflow data more consistent, reducing the risk of missing or incorrectly linked activity information.
Original PR description
\* = approvals, sign task-2741402 https://github.com/odoo/odoo/pull/91229