Tuesday, December 14, 2021
17 changes · master
Enhancements to existing features
The mail app’s internal dialog manager was renamed to make the code easier to distinguish from server-side components. This is a behind-the-scenes cleanup that helps developers maintain the messaging area more safely without changing user-facing behavior.
Original PR description
Rename javascript model `mail.dialog_manager` to `DialogManager` in order to distinguish javascript models from python models. Part of task-2701674.
Priority star icons now show the field label along with the selected value, such as "Priority: High". This makes it easier for users to understand what the stars mean, especially in views where the field name is not otherwise visible.
Original PR description
PURPOSE To add the field name along with the hover text. SPECIFICATIONS With this commit, we have added the field name in the hover text. This will explain what 'Stars' are. Currently, only this text is displaying so users can not understand what is 'medium', high', and 'very high'. This is the goal of this commit. PR #80213 Task-2691338 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update renames an internal JavaScript component used by the Mail Discuss public view to make it easier for developers to distinguish it from server-side models. The change supports cleaner maintenance and reduces confusion, with no expected impact on end users.
Original PR description
Rename javascript model `mail.discuss_public_view` to `DiscussPublicView` inorder to distinguish javascript models from python models. Part of task-2701674.
The mail app's internal chat window manager was renamed to make the code easier to understand and maintain. This does not change how users interact with chat, but it helps developers avoid confusion between different parts of the system.
Original PR description
Rename javascript model `mail.chat_window_manager` to `ChatWindowManager` in order to distinguish javascript models from python models. Part of task-2701674.
The mail app's internal media preview component was renamed to make it easier for developers to distinguish browser-side code from server-side models. This is an internal cleanup that should not change how users preview media, but it helps reduce confusion for future maintenance.
Original PR description
Rename javascript model `mail.media_preview` to `MediaPreview` in order to distinguish javascript models from python models. Part of task-2701674.
Live survey presentations now show a clear “Thank you!” message when the survey ends instead of leaving participants on the final slide. This gives presenters and attendees a more polished closing experience and confirms that the session is complete.
Original PR description
Purpose ======= When presenting a live survey, the page does not give a confirmation message when the survey ends and stays on the last slide. A "Thank you!" message is now displayed when the presentation ends. Task-2700222
The mail module now uses a clearer internal name for the code that displays attachment cards. This helps developers distinguish browser-side components from server-side models, reducing confusion during future maintenance without changing user-facing behavior.
Original PR description
Rename javascript model `mail.attachment_card` to `AttachmentCard` in order to distinguish javascript models from python models. Part of task-2701674.
The mail app’s internal invitation form naming was updated to better distinguish browser-side components from server-side models. This is a low-risk maintenance improvement that helps developers avoid confusion and supports future work without changing user-facing behavior.
Original PR description
Rename javascript model `mail.channel_invitation_form` to `ChannelInvitationForm` in order to distinguish javascript models from python models. Part of task-2701674.
The mail module’s internal composer view model was renamed to make its purpose clearer and avoid confusion with similarly named server-side models. This is a technical cleanup that helps developers maintain the messaging code without changing user-facing behavior.
Original PR description
Rename javascript model `mail.composer_view` to `ComposerView` in order to distinguish javascript models from python models. Part of task-2701674.
The mail chatter now shows the “Read More” and “Read Less” button text with capital letters when earlier email content is folded. This makes the action easier to notice when users reply to emails and need to expand or collapse the quoted message.
Original PR description
Purpose ======= In the chatter, when we reply to an email, the parent email is folded behind a "read more" button. Add capital letters to this button to make it more visible. Task-2656302
The mail app now uses a clearer internal name for guest users in its web messaging code. This helps avoid confusion between browser-side and server-side guest records, making future maintenance safer without changing user-facing behavior.
Original PR description
Rename javascript model `mail.guest` to `Guest` in order to distinguish javascript model from python model. Part of task-2701674.
The mail app’s internal activity box code was renamed to make it easier for developers to distinguish browser-side components from server-side models. This is a low-risk maintenance improvement that supports clearer future development without changing user-facing behavior.
Original PR description
Rename javascript model `mail.activity_box_view` to ActivityBoxView in order to distinguish javascript models from python models. Part of task-2701674.
The mail app’s internal JavaScript naming for channel commands was updated to better distinguish it from backend models. This is a technical cleanup that helps developers maintain the messaging code more easily, with no expected change for end users.
Original PR description
Rename javascript model `mail.channel_command` to `ChannelCommand` in order to distinguish javascript models from python models. Part of task-2701674.
The mail app's internal naming for image attachments was updated to avoid confusion between browser-side and server-side components. This is a low-risk maintenance improvement that helps developers work more clearly without changing the user experience.
Original PR description
Rename javascript model `mail.attachment_image` to `AttachmentImage` in order to distinguish javascript models from python models. Part of task-2701674.
The mail app's attachment viewer was renamed internally to make it easier for developers to distinguish browser-side components from server-side models. This is a low-risk maintenance improvement that supports clearer future development without changing the user experience.
Original PR description
Rename javascript model `mail.attachment_viewer` to `AttachmentViewer` in order to distinguish javascript models from python models. Part of task-2701674.
This update streamlines how new records are created across several Odoo business apps, helping the system process multiple new items more efficiently. The change is mostly internal, but it can improve performance and consistency in everyday workflows such as accounting, documents, appointments, approvals, payroll, and field service.
Delivery address information used by accounting and invoicing is now managed from the accounting side instead of relying on sales settings. This makes invoice-related address handling more consistent across subscriptions, electronic invoicing, and localization features.
Original PR description
sale.group_sale_delivery_address --> account.group_sale_delivery_address task-2669128