Wednesday, December 11, 2024
11 changes · master
Enhancements to existing features
The Discuss sidebar now visually tones down inactive items so the active conversation stays easier to focus on. Unread conversations remain more visible than read ones, helping users notice important updates without making the sidebar compete with the main chat area.
Original PR description
Discuss sidebar items are too catchy, which is distracting when the core part of Discuss app is the conversation itself. As much as possible, conversation should be very visible while other elements…
Discuss sidebar items are too catchy, which is distracting when the core part of Discuss app is the conversation itself. As much as possible, conversation should be very visible while other elements are slightly less visible. This problem is even more pronunced when the sidebar is compact, because the avatars in sidebar are next to avatars of conversation, which is even more distracting. This commit fixes the issue by reducing opacity slightly on non-active sidebar items. Conversation that are unread and unactive have an in-between opacity so they are more visible than other read and non-active conversations but still have reduced opacity so that this is less distracting than the conversation itself. Before <img width="1278" alt="Screenshot 2024-12-09 at 14 33 48" src="https://github.com/user-attachments/assets/b6f9feb6-ffc0-42b7-9102-a6850fc71334"> After <img width="1277" alt="Screenshot 2024-12-09 at 14 36 12" src="https://github.com/user-attachments/assets/28394bff-18f2-403d-8b4b-1c6f80f01cb8">
This update modernizes how Odoo’s internal data models are structured and documented, making future development safer and easier to maintain. The changes mainly affect core platform components and several supporting apps, with little direct impact expected for everyday users.
This update converts the remaining Mail app tests to Odoo's newer Hoot testing framework. It improves test consistency and maintainability, helping future changes to the Mail area be validated more reliably without changing day-to-day user features.
Original PR description
task-3818666 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update moves some database query-building behavior into the field definitions themselves, making it easier for Odoo to handle different field types consistently. It is mainly an internal improvement that should support future enhancements and reduce complexity without changing day-to-day user workflows.
Original PR description
Move the implementation of generating the SQL for a given file type on fields. This allows to overwrite the behaviour as needed per type. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Mail activities now reuse existing persona information instead of separate custom user handling. This simplifies the underlying activity display logic and helps keep user details consistent across the interface.
Original PR description
Use the activity persona information instead of the custom code and user_id array. PR enterprise: https://github.com/odoo/enterprise/pull/75404
Approval activity items now use the shared persona display, making requester or assignee information more consistent with the rest of Odoo. This improves readability and provides a more uniform experience when reviewing approval tasks.
Original PR description
PR community: https://github.com/odoo/odoo/pull/190161
The IoT quality configuration screen now places the more commonly used Printer Reports tab before Quality Control Points. This makes frequently accessed printer report settings easier for users to find and reduces navigation friction.
Original PR description
As it's "Printer Reports" tab is more widely used than "Quality Control Points" one, we moved it in first posistion. Task: 4146883
Map views now show 0 instead of None when records are grouped by an integer field with no value. This makes grouped data clearer and avoids confusing empty labels for business users.
Original PR description
SPECIFICATION: When grouping by an integer field, ensure that if the field's value is empty, display the 0 instead of None in the all views. Related Community PR-https://github.com/odoo/odoo/pull/187567 Task-4327850
After a WhatsApp chat is forwarded to a human operator, the chatbot is now removed from the conversation. This keeps the channel focused on the customer and operator, reducing confusion during live support handoffs.
Original PR description
Until now, the chat bot stayed as a member of the channel after the "forward_operator" step. It makes more sense to remove it from the channel. task-4354075 community: https://github.com/odoo/odoo/pull/189456
This update makes key Odoo model classes easier for other addons to access from each addon's main entry point. It supports cleaner internal development and future typing improvements without changing day-to-day user workflows.
Original PR description
[IMP] *: Import models at the addon root level Odoo model classes whose name matches their model are exposed at the root level of the addon. This is so that other addons do not have to take into account the structure which is an implementation detail. These classes can be easily used for typing. This use will be present later. see: https://github.com/odoo/odoo/commit/5733d252b8f760b87bdd43ec6ac9ed22c4f1d07e
This update makes Odoo app model definitions available from each app's main entry point, so other apps can reference them without depending on internal folder layouts. It is an internal maintainability improvement that supports future typing work and should not change day-to-day user workflows.
Original PR description
[IMP] *: Import models at the addon root level Odoo model classes whose name matches their model are exposed at the root level of the addon. This is so that other addons do not have to take into account the structure which is an implementation detail. These classes can be easily used for typing. This use will be present later. see: https://github.com/odoo/odoo/commit/5733d252b8f760b87bdd43ec6ac9ed22c4f1d07e