Thursday, September 19, 2024
21 changes · master
Enhancements to existing features
This update simplifies how contact names are handled in Odoo's mail and live chat areas by removing a duplicate display-name field from the underlying persona data. Users should see no major workflow change, while the system becomes easier to maintain and less prone to inconsistent name display.
Original PR description
This PR remove the display name from persona model and the getter associated.
Avatar tag lists now show the remaining person's avatar when only one item is hidden, instead of displaying a generic “+1” counter. This makes attendee and user lists easier to understand at a glance across affected screens.
Original PR description
Before this commit, the user avatar tag list displayed the counter with +1 when there was only 1 tag left to display. Now, the last tag is displayed instead of the counter. task-4134018
The project dashboard and related kanban views were simplified to use newer, standard layout components. This makes the screens easier to maintain and helps keep project, timesheet, sales, documents, field service, budget, and eLearning views visually consistent without changing core business workflows.
Original PR description
*hr_timesheet,sale_timesheet,documents_project,industry_fsm_report, project_account_budget In this commit we have simplified the kanban arch for the project module dashboard. the goal is to simplify…
*hr_timesheet,sale_timesheet,documents_project,industry_fsm_report, project_account_budget In this commit we have simplified the kanban arch for the project 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 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Event email and SMS scheduling has been reorganized to support future scalability improvements. This prepares Odoo to send event communications in smaller, trackable batches, helping large events run more reliably without changing the current user experience.
The Australian chart of accounts now includes a dedicated account for deductions. This helps businesses using the Australian localization categorize deduction-related accounting entries more clearly and consistently.
Original PR description
This commit adds a new account for deductions in the Australian chart of accounts. 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
The website configurator preview now scrolls according to the actual height of each selected theme image. This prevents blank gaps or incomplete previews, giving users a cleaner and more accurate view when choosing a website theme.
Original PR description
Prior to this commit, the preview scrolling animation used fixed values. But since the theme redesign, image previews now have different heights. Depending on this height, the scrolling animation may display an empty space or not go all the way to the end of the screenshot. This commit adjusts the scrolling animation to match the height of selected theme previews. task-4177975 | Before | After | |--------|--------| |  |  | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Point of Sale restaurant screen now shows clearer button text for switching between dine-in and takeaway modes. This helps staff quickly understand the current service mode and reduces mistakes when handling orders.
Original PR description
Previously, it was unclear whether the mode in bars/restaurants was set to "Dine In" or "Takeaway." We have now improved this by changing the button label for better clarity: When in "Dine In" mode, the button now reads "Switch to Takeaway," indicating that the current mode is dine-in. When in "Takeaway" mode, the button now reads "Switch to Dine In," indicating that the current mode is takeaway. This change ensures users can easily recognize the current mode at a glance. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Manufacturing Gantt labels now show the final product name at the beginning. This makes production schedules easier to scan and helps teams quickly identify which product each work order relates to.
Original PR description
Show the name of the final product at the beginning of the gantt labels task: 3977697 See odoo/enterprise#66964 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Accounting tax group list now shows the view button by default instead of hiding it behind debug-mode options. This makes it easier for users to open and review tax group details without extra configuration.
Original PR description
When we are in debug mode, we get the view button as optional hide from the account.tax.group list view. It made no sense to keep it that way. Instead of keeping it like that it has been concluded to keep it visible anytime. task-4170673 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Pro-forma invoice reports now use the clearer label "Issued Date" instead of "Quotation Date". This makes the document wording more accurate for customers and reduces confusion when reviewing sales paperwork.
Original PR description
This commit replaces the `Quotation Date` with `Issued Date` in the pro-forma invoice report to provide a more accurate label for pro-forma invoices. Conditions for displaying dates were changed accordingly. task-4169923
Messages that have been changed after posting now show an "edited" label at the end. This improves transparency in conversations by helping users quickly see when content has been updated.
Original PR description
This commit adds a new label for messages that have been edited. The label is displayed in the end of the message. Related tests have been modified. Current behavior before PR:  --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Discuss sidebar has been visually tightened so conversations and categories take up less space and align more neatly. This improves readability and lets users see more items at once without changing functionality.
Original PR description
Also fix slight misalignment between thread and category badges. Before / After <img width="303" alt="Screenshot 2024-09-19 at 13 46 45" src="https://github.com/user-attachments/assets/d85e81f9-3ba1-45ec-b388-8b2e09f83fbc"> <img width="301" alt="Screenshot 2024-09-19 at 13 44 32" src="https://github.com/user-attachments/assets/1c508657-6e0b-4c6e-a486-5540893ffda3">
Mail channel action buttons now stand out better when a channel is hovered or selected. This makes the controls easier to see and use without reducing icon readability.
Original PR description
When channel item is hover or active, there's some colored background. Action hover effect was greying the action, which is not enough contrast. Darkening the background further would make icon not visible. This commit fixes the issue by putting border and making background lighter on these buttons, so that their hover effect is very noticeable against the channel hover effect while keeping readable of action icon good. Before / After <img width="298" alt="Screenshot 2024-09-19 at 18 03 49" src="https://github.com/user-attachments/assets/b23c64ee-439c-4bb9-ab41-41850bdc5382"> <img width="301" alt="Screenshot 2024-09-19 at 18 03 30" src="https://github.com/user-attachments/assets/f3ce3e71-cf44-42ff-bca1-cd1c1383a8dd">
The messaging menu now has clearer spacing between items and stronger visual contrast for important notifications. This helps users quickly scan their messages and spot priority items at a glance.
Original PR description
This commit add horizontal spacing on messaging menu items, so that each item are more easily visible. Padding and slight darkened border is put on important notifications so that there's slightly more contrast to also ease how many important items there are at a very quick glance. Before <img width="988" alt="Screenshot 2024-09-19 at 18 41 49" src="https://github.com/user-attachments/assets/8da68754-641d-4285-87ba-ed0a41bb965c"> After <img width="988" alt="Screenshot 2024-09-19 at 18 42 16" src="https://github.com/user-attachments/assets/aed13ce0-f943-40ee-adfa-ed3b14340caa">
Manufacturing work order Gantt labels now show the final product name at the beginning. This makes production schedules easier to read and helps teams quickly identify what each planned work order contributes to.
Original PR description
Show the name of the final product at the beginning of the gantt labels task: 3977697 See odoo/odoo#168432
Project dashboard cards have been simplified across related apps to make them easier to read and maintain. The update uses newer standard interface components, improving consistency without changing core business workflows.
Original PR description
*hr_timesheet,sale_timesheet,documents_project,industry_fsm_report, project_account_budget In this commit we have simplified the kanban arch for the project 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
The manufacturing PLM and work order dashboards have been simplified to make their cards easier to read and maintain. This update modernizes the underlying layout components without changing core business workflows.
Original PR description
In this commit we have simplified the kanban arch for the mrp_plm and mrp_workorder 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
The Planning-related kanban screens have been simplified to use newer, standard card layouts and styling. This should make the dashboard views easier to maintain and more consistent for users across Planning, Project Forecast, and Sales Planning.
Original PR description
In this commit we have simplified the kanban arch for the planning 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
Avatar tag lists now show the remaining person’s avatar when only one item is hidden, rather than displaying a “+1” counter. This makes resource and user lists clearer at a glance and avoids unnecessary extra counting in the interface.
Original PR description
Before this commit, the user avatar tag list displayed the counter with +1 when there was only 1 tag left to display. Now, the last tag is displayed instead of the counter. This commit also renames the property `itemsVisible` to `visibleItemsLimit` to better reflect the purpose of this property. task-4134018
Manufacturing planning now includes a ready-to-use spreadsheet template for importing Master Production Schedule data. This helps users test or prepare planning data more quickly using products that fit the standard demo setup, while avoiding conflicts with existing demo entries.
Original PR description
An XLSX import template for MPS that works with the default demo product data and doesn't clash with the MPS demo data. Partly relies on #68419 (f9989c3). Task ID: [4129558](https://www.odoo.com/odoo/project/966/tasks/4129558)
The spreadsheet dashboard tests now verify that the correct first day of the week is used for each locale. This helps ensure date-based dashboard calculations remain consistent for users in different regions.
Original PR description
This commit is the counterpart of https://github.com/odoo/odoo/pull/180619 and updates the test to check the weekstart of the locale. Task: 4194152