Thursday, April 21, 2022
19 changes · master
Enhancements to existing features
This change removes an unnecessary hidden identifier from live chat and mail channel actions such as pinning and folding conversations. It streamlines the underlying process without changing how users interact with chat, helping keep the system easier to maintain.
Original PR description
* = im_livechat, website_livechat Unnecessary param. task-2827807
This update reorganizes parts of the Mail app by moving internal action handling into shared models. It does not introduce a visible feature change, but it should make future updates easier, safer, and more consistent to maintain.
Original PR description
This commit moves some handler methods from components to models, as a step closer to having most of business code in models. Having business code in models is desirable so that the code is much more maintainable: easier to change and more robust code. Task-2579306 Enterprise: https://github.com/odoo/enterprise/pull/26379
The Sales product variant creation process now handles data conversion in the web request layer instead of inside the product model. This makes the underlying function easier and safer for developers to reuse, with no expected change for everyday users.
Original PR description
### Current behavior before PR: The `product.template` model has a nice function `create_product_variant` that unfortunately expects its input to be in JSON. ### Desired behavior after PR is merged: JSON decoding is moved into the controller, such that the function can be called as expected. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update reorganizes how parts of the Mail app handle internal business rules, moving logic into shared data models instead of individual screen components. This should make future improvements easier to build and maintain, with little direct change expected for users.
Original PR description
This commit moves some business logic from components to models, as a step to move further to having essentially all business code in models. Having code in models is desirable to have very maintainable code, thanks to robust and declarative code with an ORM-like architecture. Task-2826823
The mail app now better manages when to show the current user's avatar in message composer areas. This creates a cleaner and more consistent messaging experience across chat windows, discussions, and thread views.
Original PR description
Task-2826823
This update removes unused code from the Mail app's message composer and conversation view. It helps keep the product easier to maintain without changing how users interact with messages or attachments.
Original PR description
Task-2826823
This update removes unused attachment filename display logic from the Mail composer and related thread views. It simplifies the code behind messaging without changing the visible user experience, helping reduce maintenance overhead.
Original PR description
Task-2826823
The mail module was simplified by removing an internal helper used for message list scrolling. This should make the messaging code easier to maintain without changing day-to-day user behavior.
Original PR description
Task-2826823
The mail chatter follow button now has clearer enabled or disabled states, helping prevent users from taking follow actions when they are not available. This makes the messaging interface more predictable and reduces confusion around record-following actions.
Original PR description
Task-2826823
The mail app’s message composer now has a clearer way to determine when it can expand in conversation areas. This supports a smoother and more consistent user experience when writing messages or notes.
Original PR description
Task-2826823
The mail app’s follow/unfollow button has been updated so the interface can better show when unfollowing is the active action. This makes follower controls clearer and more consistent for users working in message threads and chatter areas.
Original PR description
Task-2826823
The mail interface was simplified by removing an older follow button implementation and related chatter-specific handling. This reduces internal complexity and helps keep follower controls more consistent and easier to maintain.
Original PR description
Task-2826823
The mail follow/unfollow controls were streamlined behind the scenes to make the chatter area easier to maintain. Users should see the same follow button behavior, while the cleaner implementation reduces future maintenance risk.
Original PR description
Task-2826823
The mail composer now tracks which suggestion is currently active, making suggestion lists clearer and easier to navigate. This improves the message-writing experience by helping users understand which suggested recipient or mention will be selected.
Original PR description
Task-2826823
The mail composer now supports a clearer option for showing a discard button in relevant views. This improves consistency in messaging screens and helps users more easily cancel draft messages when appropriate.
Original PR description
Task-2826823
The Documents spreadsheet integration has been updated to the latest spreadsheet engine version. This improves the underlying reliability and maintainability of spreadsheet rendering and interactions, with no major user-facing workflow changes expected.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/a71c5d85 [IMP] *: convert all position arrays to type Position https://github.com/odoo/o-spreadsheet/commit/8b180cfe [REM] commands: Selection related commands are not used anymore https://github.com/odoo/o-spreadsheet/commit/c71bdca6 [REF] overlay: rename overlay to headers overlay https://github.com/odoo/o-spreadsheet/commit/86db8e6d [REF] renderer: remove headers sizes dependencies https://github.com/odoo/o-spreadsheet/commit/ad69d247 [REF] grid: introduce grid overlay
This update tidies the internal naming used by the signing request screen. It helps keep the Sign app easier to maintain without changing how users complete or manage signature requests.
Original PR description
Task-2828981
VoIP call and activity handling logic has been reorganized behind the scenes to make it easier to maintain and update. This should make future VoIP improvements more reliable without changing how users work today.
Original PR description
This commit moves some handler methods from components to models, as a step closer to having most of business code in models. Having business code in models is desirable so that the code is much more maintainable: easier to change and more robust code. Task-2579306 Community: https://github.com/odoo/odoo/pull/89123
This update removes an unnecessary parameter from the mail channel folding behavior. It keeps the messaging experience cleaner internally without changing how business users interact with channels.
Original PR description
Unnecessary param. task-2827807