Tuesday, August 27, 2024
9 changes · saas-17.4
Resolved issues and error corrections
This fix prevents the mail system from attempting to send an email again after it has already been sent during test runs. It avoids unnecessary follow-up processing and keeps email handling cleaner without changing normal user-facing behavior.
Original PR description
Since when we are in test the mail is sent before commit, we don't need to re-call send after commit (which won't do anything as the object mail is not outgoing anymore) So we just return after the sent. 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 messaging menu no longer shows an option to enable push notifications on iOS devices where that setting cannot be managed from the web app. This removes a persistent, confusing prompt and improves the user experience for mobile users.
Original PR description
Before this commit, it was showing a "enable push notification" messaging menu item on iOS devices. This item was persistent and could not be removed, because iOS does not allow to enable specifically push notifcation on web apps, except if there are installed as PWA in which case they necessarily authorized push notifications based on OS app preferences.
This fix prevents Odoo from sending an away-status update earlier than needed after a user becomes active again. It reduces unnecessary duplicate presence updates, helping status changes stay efficient without changing the user experience.
Original PR description
Before this PR, the update presence sent when the user switches to away could be sent a bit too early. As a result, two updates would be needed instead of one. Steps: - Initial update presence is sent, let's assume the last activity was 5000 ms ago. - The away update presence should be planned for AWAY_TIMER - 5000. - Click on the page, the new update presence is still planned for AWAY_TIMER- 5000 but it should instead be computed based on the new inactivity period. This is not critical as the early update would plan another update based on the newly sent value. But it can be avoided by using the actual inactivity value to plan the next update presence sending.
The email template editor now correctly shows the translation button when users hover over rich text content fields. This makes it easier for multilingual users to translate email content consistently, matching the behavior already available on other fields.
Original PR description
Steps to reproduce ================== - Install Email Marketing - Enable debug mode - Enable multiple languages - Go to Email Templates - Open any record - Hover over the Subject field => There is a translation button at the end of the line - Hover over the content html field => The translation button is invisible Cause of the issue ================== Recently, the TranslationButton was made invisible if we're not interacting with the related field https://github.com/odoo/odoo/pull/169042 The case was handled for the HtmlField inside web, but not the one from web_editor. opw-4113284
This fix restores the HR module after a recent internal cleanup caused an error in some workflows. It prevents users from encountering a crash related to message handling, improving reliability without changing business features.
Original PR description
Currently, an error is occurring after the commit. Error:- ``` AttributeError: module 'odoo.tools' has no attribute 'decode_message_header' ``` Commit:- https://github.com/odoo/odoo/commit/5057ea17fef01b20161eb18e1f0aa859bc6a3d20 sentry-5658865209
The Point of Sale product info popup now shows on-hand quantity for products that do not have multiple variants. This helps store staff quickly see available stock for simple products without adding confusion for multi-variant items.
Original PR description
Before this commit, the on-hand quantity of products was not displayed in the product info popup. Given that a product can have multiple variants, displaying on-hand quantity directly in the popup was deemed irrelevant. However, this commit introduces a change to display the on-hand quantity in the product info popup for products without variants, enhancing clarity and usability for single-variant products. opw-4133522 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A small maintenance fix removes an outdated check from a Documents automated tour and corrects a typo. This helps keep validation runs stable without changing how users work with Documents.
Original PR description
We no longer need to add isCheck after this version on a tour we remove the checks and fix a small typo to avoid failing runbots. opw-76050
This change updates internal automated tests for spreadsheet pivot menu behavior so they match the current way record IDs are handled. It helps keep quality checks reliable and reduces the risk of false test failures during future development.
This change updates automated checks for spreadsheet pivot menu behavior so they match the current way item identifiers are handled. It helps keep quality checks reliable and reduces the risk of false test failures during future updates.