Saturday, September 21, 2024
19 changes · master
Enhancements to existing features
The cart no longer shows a zero delivery charge before the customer chooses a shipping method. This avoids giving shoppers the mistaken impression that delivery is free, while keeping delivery costs visible later in checkout and payment.
Original PR description
Before this commit: The delivery price was displayed as 0 in the /cart when the user had yet to choose a delivery method. This could be misleading, as it might seem like the delivery was free. After this commit: The delivery price is now hidden on the /cart page when user has yet to select a delivery method. task-4193868
This update adds sample sub-thread conversations to the Mail app's demo data. It helps testers and evaluators more easily see and try the newer threaded discussion experience in a demo environment.
Original PR description
Sub-threads were recently introduced for discuss channels. This PR adds some sub-threads to the demo data of the general channel in order to ease testing.
The Kanban card menu styling has been aligned with Odoo's newer Kanban layout, removing outdated display classes and standardizing the color picker naming. This helps keep dashboards and related views visually consistent and easier to maintain across affected apps.
Original PR description
*website_slides,mrp_plm,quality_control This commit removes kanban-record-menu from kanban_dashboard and moves it to the generic CSS rule for kanban-menu. Unnecessary classes that no longer have an effect in the updated kanban architecture have been removed. - Removed o_kanban_card_manage_section and o_no_padding_kanban_colorpicker class - Renamed .oe_kanban_colorpicker to o_kanban_colorpicker Task-3992107 enterprise PR - https://github.com/odoo/enterprise/pull/70352 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Restaurant tables in Point of Sale now show a clearer display name based on their table number and floor. This makes tables easier to identify for staff when managing restaurant orders.
Original PR description
The tables in pos_restaurant don't have a `name` field. What they have is a `table_number` field. In this commit we add a `display_name` field that uses the `table_number` and the floor name. Task: 4199496 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Messaging menu and command palette entries now show the parent name for sub-threads. This makes it easier for users to identify the right conversation context and navigate between related discussions.
Original PR description
This PR adds the sub-thread's parent name to the messaging menu/command palette items. It's easier to navigate sub-threads this way.  
The project sharing window now shows each collaborator's email address alongside their name. This helps users distinguish between people with the same or similar names and reduces the chance of sharing with the wrong person.
Original PR description
Currently, only the collaborator's name appears in the share wizard, which can be confusing if there are multiple collaborators with the same name. This commit adds the email address to the display, making it easier to identify each collaborator accurately. task-3976470
The chat seen indicator now uses clearer wording in one-to-one conversations, saying the message was seen by the correspondent instead of everyone. Its display is also made less visually distracting and positioned to avoid overlapping message content, improving readability in Mail discussions.
Original PR description
- When conversation has 2 members, show "Seen by correspondent" rather than "Seen by everyone" - Slightly reduce opacity of seen indicator when seen by everyone, so that this is less distracting compared to message content - Slightly move indicator down, so it's less likely to overlap with message content Took also opportunity to do minor test cleaning, while putting test coverage of "Seen by correspondent" feature. Task-4198929 https://github.com/odoo/enterprise/pull/70399 Before  After 
Obsolete styling and unused classes were removed from Kanban views across several Odoo apps. This reduces maintenance complexity and helps keep the interface code cleaner without changing business workflows.
Original PR description
\* = [web, project_todo, product, mail_group, mail, im_livechat, hr_contract, event, crm] In an effort to simplify the Kanban architecture, we previously removed several SCSS and CSS elements from the Kanban view. As a result, many of the associated classes have become redundant and are no longer functional. This commit aims to remove all such trivial and ineffective classes, improving overall code clarity and maintainability. Task-3992107
The chat message input area has been made more compact, giving users more room to view conversation content. Placeholder text is also slightly lighter, making it clearer when the field is empty.
Original PR description
Also reducing slightly opacity of placeholder, so that it's easier to see that input is empty. Before / After  
The Discuss side panels now display icons to make actions easier to recognize at a glance. The “Invite a User” button also uses a matching invitation icon, creating a more consistent and polished experience.
Original PR description
Also button "Invite a User" has matching icon of channel invitation panel Before / After <img width="323" alt="Screenshot 2024-09-19 at 19 11 57" src="https://github.com/user-attachments/assets/ec32f215-531a-4226-84e2-50af48f6979d"> <img width="320" alt="Screenshot 2024-09-19 at 19 10 34" src="https://github.com/user-attachments/assets/6b9f3c64-8631-4dda-b7c7-d090a904e825">
This update polishes the Discuss interface by reducing sidebar hover flicker, improving thread spacing and alignment, and making compact channel actions easier to use. These small visual fixes make conversations easier to scan and create a smoother messaging experience for users.
Original PR description
1. flickering in the community branch when hovering the sidebar item;  2. sub thread is…
1. flickering in the community branch when hovering the sidebar item;  2. sub thread is aligned with the main thread in the end;  3. add rounded to sub thread as the main thread; 4. some padding to the sub thread, not too close to each other; 5. alignment of the sub thread search panel; before:  after:  6. channel actions buttons popover when in compact mode;  7. "Threads" action panel has last message text aligned to start and truncates --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Accounting now includes a way to verify whether payment references follow supported country-specific formats. This helps improve data quality and reduces the risk of invalid references being used in accounting workflows.
Original PR description
This function checks if a reference is valid in regards to the countries currently supported in account/tools/structured_reference.py Task ID: 2982194
Calendar events synced to Google Calendar and Microsoft Calendar now use the same customer-friendly event description generated in Odoo. This makes shared event details more consistent and better formatted for people viewing them outside Odoo.
Original PR description
This commit does the following- -Makes `_get_customer_description` to return HTML data. -Replace the description field with `_get_customer_description` for google_calendar and microsoft_calendar syncs. Task-3458669
The room booking app now uses the standard loading overlay styling instead of maintaining separate custom styling. This reduces maintenance effort and helps keep the user experience consistent across Odoo apps, with only a minor internal adjustment in the enterprise web interface.
Original PR description
- The room app was using his own CSS for the blocked UI. Indeed, it used the service but its CSS was not available. It now is, instead of more CSS code to support. - The web_enterprise app is using a div using the o_blockUI class... but this seems like a mistake, it never had an effect (since at least version 16.0). To investigate later. Related to task-4184418
This update adjusts automated testing around the WhatsApp message seen indicator. It helps ensure the message status display continues to behave reliably after related improvements.
Original PR description
Task-4198929 https://github.com/odoo/odoo/pull/180897
Success notifications in Planning have been rewritten to be shorter and more explicit. This makes confirmations easier for users to understand after completing planning-related actions.
Original PR description
The toast notifications have been reworded to be more explicit and shorter for the planning module. The changes were applied to notifications with the success status. Task-3916119
Kanban card menus were aligned with the newer kanban design so they behave consistently across affected apps. This is a small cleanup that removes outdated styling hooks and helps keep Manufacturing PLM, Quality, and eLearning views compatible with the updated interface.
Original PR description
*website_slides,mrp_plm,quality_control This commit removes kanban-record-menu from kanban_dashboard and moves it to the generic CSS rule for kanban-menu. Unnecessary classes that no longer have an effect in the updated kanban architecture have been removed. - Removed o_kanban_card_manage_section and o_no_padding_kanban_colorpicker class - Renamed .oe_kanban_colorpicker to o_kanban_colorpicker Task-3992107
Appointment, Frontdesk, and Web Studio kanban card layouts were simplified to use newer standard components and styling. This makes the views easier to maintain and helps keep the user interface consistent with current Odoo behavior, with minimal direct impact on daily workflows.
Original PR description
\* = [frontdesk, test_web_studio, web_studio] In this commit we have simplified the kanban arch for the above-mentioned modules. The goal is to simplify them, make them easier to read and use bootstrap utility classnames. - Previously, we used kanban-box, but now we are using kanban-card instead. - Deprecated oe_kanban_global_click and oe_kanban_global_click_edit. - More use of <field/> tags - Removed the oe_kanban_colorpicker class and replaced it with the kanban_color_picker widget. - Changed type='edit' to type='open' to open records. since version 16, records always open in edit mode by default. - kanban_image from rendering context, is deprecated so we use <field name=... widget=image/> instead - kanban_color, kanban_getcolor and kanban_getcolorname are deprecated use new attribute highlight_color=color_field_name on root node Enterprise: https://github.com/odoo/odoo/pull/180843 Task-3992107
The Helpdesk dashboard card layout has been simplified to use newer interface components and standard styling. This makes the screen easier to maintain and helps keep the Helpdesk experience consistent with current Odoo design practices.
Original PR description
In this commit we have simplified the kanban arch for the helpdesk module dashboard. the goal is to simplify them, make them easier to read and use bootstrap utility classnames. - Previously, we used kanban-box, but now we are using kanban-card instead. - Deprecated oe_kanban_global_click and oe_kanban_global_click_edit. - More use of `<field/>` tags - Removed the oe_kanban_colorpicker class and replaced it with the kanban_color_picker widget. - Changed type='edit' to type='open' to open records. since version 16, records always open in edit mode by default. - kanban_image from rendering context, is deprecated so we use `<field name=... widget=image/>` instead - kanban_color, kanban_getcolor and kanban_getcolorname are deprecated use new attribute highlight_color=color_field_name on root node Task-3992107