Thursday, October 6, 2022
11 changes · master
Enhancements to existing features
The Mail app's online status icon logic was reorganized so the display rules live in the underlying data model rather than the screen component. This makes the feature easier to maintain and reduces the risk of inconsistent behavior in places where status icons appear.
Original PR description
+ Turn props on component into fields on PersonImStatusIconView model + Move handler from component methods to model record methods Task-3004188.
The mass mailing composer now hides the mailing name option when the selected records cannot actually create a mailing. This prevents users from thinking a mailing campaign will be created when the system would only send a regular mass email.
Original PR description
## Issue Currently when creating a composer in mass mode the composer always shows the 'mass mailing name' option even when a mailing cannot be created. This silently creates a regular mass mail. ## Fix This hides that option when selecting records of models that do not inherit from thread. So that users do not falsly believe a mailing will be created. task #2990447 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The mail activity interface was updated to use a newer internal component structure. This helps keep the messaging area easier to maintain and supports future improvements without changing day-to-day user workflows.
Original PR description
part of task-2783065 Enterprise PR: https://github.com/odoo/enterprise/pull/32360
The mail activity completion popover was updated as part of an internal modernization effort. This helps keep the interface maintainable and consistent without changing the user-facing workflow.
Original PR description
part of task-2783065
The messaging discussion area has been updated to use a newer internal component structure. This helps keep the mail app easier to maintain and prepares it for future improvements, with no expected change to day-to-day user behavior.
Original PR description
part of task-2783065
The Mail app’s attachment preview component was updated to use the newer interface used across Odoo. This keeps attachment viewing aligned with the current platform behavior and removes obsolete event handling that was no longer used.
Original PR description
Since https://github.com/odoo/enterprise/commit/afcdd1878a2eaf4cbca85d1169dea31a108c8c43#diff-f064a21c91b8daa5d78c44e88e2c02345ff0a7230403dd3600a65d3a6b0653d3L18 there is no listener for preview_attachment_validation. Part of task-2783065
This update improves internal error messages when configuring mail-related data fields. It helps developers identify incorrect field definitions faster, reducing troubleshooting time and improving reliability for future mail features.
The test mock server used by messaging and related apps has been reorganized into separate pieces by business object and web controller. This makes the test infrastructure easier for developers to navigate and maintain, reducing the effort and risk when updating these areas in the future.
Original PR description
The mail mock server is getting bigger and bigger. As a consequence, navigating/keeping it up to date is quiet inconvenient. This commit solves this issue by splitting it by model/controller. enterprise: https://github.com/odoo/enterprise/pull/32314
The call options menu in Odoo's mail and Discuss area was updated to use the newer interface framework. This helps keep the calling experience easier to maintain and supports future improvements without changing day-to-day behavior for users.
Original PR description
part of task-2783065
The test mock server setup was reorganized into smaller parts by business area and function. This makes the internal test code easier for developers to navigate and update, reducing maintenance effort without changing customer-facing behavior.
Original PR description
*: approvals, documents, voip, website_helpdesk_livechat. The mail mock server is getting bigger and bigger. As a consequence, navigating/keeping it up to date is quiet inconvenient. This commit solves this issue by splitting it by model/controller. community: https://github.com/odoo/odoo/pull/98374
This update removes an unnecessary internal check in the VoIP activity view. It streamlines the code without changing the user experience, helping keep the VoIP module easier to maintain.
Original PR description
part of task-2783065