Monday, April 24, 2023
12 changes · master
Enhancements to existing features
Users can now see a short preview of the message they are replying to directly in the composer header. This makes conversations easier to follow and helps reduce confusion when responding in busy message threads.
Original PR description
**Current behavior before PR:** Show a brief preview of the message which is being replied to. **Desired behavior after PR is merged:** Added a short message preview in composer header. Task-2664825 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo no longer adds a generic placeholder company logo to new databases or email templates by default. This reduces the risk of customers accidentally sending business emails with an unfinished “your logo” image and makes email actions clearer and better styled.
Original PR description
The sales product configurator has been modernized to use Odoo's newer interface framework, making it easier to maintain and improve over time. This change separates sales and e-commerce variant handling, while the e-commerce configurator remains on the older approach for a future update.
Original PR description
Product configurators were migrated to Owl, but some legacy code was kept as not urgent to migrate. This commit introduces the new product configurator in OWL. Some parts of the logic have now been rewritten in OWL, getting a better share between the back end and the front end. The product configurator in e-commerce still uses the old implementation and will be refactored in another task. See also: - https://github.com/odoo/enterprise/pull/39525 - https://github.com/odoo/upgrade/pull/4550 task-3056806
Guests using Odoo Discuss can now change their avatar directly from the chat top bar. This makes guest participation feel more personal and gives external users simple control over how they appear in conversations.
Original PR description
**Current behavior before PR:** The guest should be able to change his avatar. **Desired behavior after PR is merged:** Guest can change his avatar by clicking on his avatar in `ThreadViewTopbar`. Task-2664819 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds an automated test to confirm that users can create a new channel from the Discuss sidebar. It helps protect the messaging experience from future regressions without changing existing user-facing behavior.
Original PR description
**Description of the issue/feature this PR addresses:** Add test case for new Channel creation from Discuss Sidebar. Task-2620829 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The color picker now uses tab labels that better match what users see: theme colors, solid colors, or custom colors. This makes choosing colors in the website editor and toolbar clearer and reduces confusion.
Original PR description
The first tab of the colorpicker can, depending on the context: - display a selection of color combinations for the current **theme** (when launched as a snippet option, for example, in the website builder); or - display a selection of **solid** colors (when lauched from the toolbar). The commit changes the tab's name to conditionally reflect its content: "Theme" or "Solid". The second tab allows the user to pick a **custom** RGBA color. This commit renames it to "Custom", replacing the inaccurate "Solid" name, now in use for the first tab. task-3274225
Spreadsheet dashboards now include a Year-to-Date period filter, making it easier to view results from January 1 through today. This helps business users quickly track current-year performance without manually setting date ranges.
Original PR description
### Description of the issue/feature this PR addresses: This PR adds YTD (year to date) filter to global period filters in dashboard. YTD filter gets the data from Jan 1st of the current year to today (included). The unit of its offset is year. ### Current behavior before PR: Global filters don't have YTD filter. ### Desired behavior after PR is merged: Have now. task [3215947](https://www.odoo.com/web#id=3215947&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds sample data for the recruitment appointment flow, including demo appointment records and email templates. It helps teams better understand, test, and demonstrate how appointment scheduling works in hiring scenarios without manual setup.
Original PR description
task: 3256007
Knowledge now accounts for extra database interactions created when gamification is installed. This keeps gamification challenge progress accurate while reflecting the additional activity tracking needed behind the scenes.
Original PR description
We are now storing users interactions with the DB in order to update gamification challenges. This causes additional queries when gamification is installed. See related COM PR Task-3226408
Documents received by email now automatically use the sender as the contact when no contact was set on the share link. If the sender is not already known, the system creates a new contact, making incoming documents easier to identify and manage.
Original PR description
If not explicitly defined on the documents.share, when receiving a document by email, we set the contact to the partner corresponding to the email sender. If no partner exists with that email, a new one is created. Based on preliminary work of Co-authored-by: ThanhDodeurOdoo <tso@odoo.com> Task-2478266
Email templates now avoid showing the default placeholder company logo when a real company logo has not been set. This helps prevent customers from receiving emails with unfinished-looking branding and keeps outgoing communications more professional.
Original PR description
Many templates use the company logo that is set by default on database creation. As that logo is clearly a placeholder and the user isn't necessarily prompted to update it. It's possible for a user to inadvertently start sending emails with "your logo" placeholders plastered all over. This removes the default logo of the company and removes it from templates conditionally. The logo isn't simply replaced with a transparent PNG as the templates set a fixed height for the logo, which would look weird. task-3067315
Online sales modules now manage their own product variant configuration instead of sharing the standard sales logic. This makes website purchases, rentals, and subscriptions easier to adapt independently and reduces the risk of cross-module behavior conflicts.
Original PR description
Currently, `website_sale` uses the same logic as `sale` to show the product variant configuration. This commit aims to separate this logic and let each module handle its own product variant configuration. See also: - https://github.com/odoo/odoo/pull/106511 - https://github.com/odoo/upgrade/pull/4550 task-3056806
Many templates use the company logo that is set by default on database creation. As that logo is clearly a placeholder and the user isn't necessarily prompted to update it. It's possible for a user to inadvertently start sending emails with "your logo" placeholders plastered all over. This removes the default logo of the company and removes it from templates conditionally. The logo isn't simply replaced with a transparent PNG as the templates set a fixed height for the logo, which would look weird. task - 3067315 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr