Thursday, May 15, 2025
10 changes · saas-18.3
Resolved issues and error corrections
This update adjusts an internal web module test so it no longer fails randomly when the test environment is under heavy load. It helps keep automated checks stable and reduces false alarms during development, without changing user-facing behavior.
Original PR description
The modified test in this commit would occasionally fail at random. This appears to happen only if some code unexpectedly takes a long time to execute. As a result, when we advance the time, it overshoots the debounce function. The underlying issue seems to be an assumption that virtually no time passes between the start of the test and a specific point where only microtasks should run. However, if the testing infrastructure is under heavy load, it's possible for that delay to exceed 25ms. A more robust fix is needed long-term, but for now, this commit only addresses the issue in this specific test. 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 date and time picker now shows a hand cursor when hovering over selectable dates, making it clearer that dates can be clicked. It also fixes the visual styling of date ranges across month boundaries so only the true start and end dates are rounded.
Original PR description
task-4794212 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
Activities in the Chatter now correctly show the activity type and creator name instead of leaving those details blank. This fixes a display issue so users can more easily understand who created an activity and what kind of follow-up it is.
Original PR description
This commit fixes an issue introduced by de26b96cda16 where some fields of the activity records weren't properly read. Notably `activity_type_id` and `create_uid` which only returned their ID instead of returning (ID, name). This led to a wrong display of the additional informations inside the activities in the Chatter. Where the type of activity and its creator were empty. To fix this, we reimplement the _to_store method so that we properly read the fields while letting the store add their specific fields. task-4794562 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents an error that could appear when a user quickly selects “Show All” while uninstalling a module. The uninstall process now handles empty module data safely, avoiding a disruptive crash in the user interface.
Original PR description
Currently, an error occurs when a user uninstall a module and immediately click the Show All checkbox. **Steps to produce:** - Install any module. - Uninstall that module and quickly click the `Show All` checkbox. **Error:** `ValueError: Compute method failed to assign base.module.uninstall(1,).model_ids` **Root Cause:** At [1], if `module_ids` is empty, no value is assigned to `model_ids`. [1] https://github.com/odoo/odoo/blob/f52d5aff1afa99fa0e8953545b09ad1f7c813b2f/odoo/addons/base/wizard/base_module_uninstall.py#L45-L53 This commit ensures that each record in the compute method is explicitly assigned a value for `model_ids`, thereby preventing the Value error. sentry-6600637515
The time off allocation approval screen now hides the approve button once an allocation request has already been approved. This avoids confusion for managers and prevents users from thinking an approved request still needs action.
Original PR description
Originally the approve button still exits after approving the allocation request because of a misleading old condition. The condition has been removed.
Fixes an issue where converting a lead into a new customer could fail if no default language was configured for contacts. The system now falls back safely, helping sales users complete opportunity conversion without interruption.
Original PR description
To reproduce: - remove default ir.default for res.partner "lang" field - create a lead and fill both "Company Name" and "Contact Name" - click on "Convert to Opportunity" - choose option "Create a new customer" - click "Create Oppportunity" It crash because there is no default value for the lang field (provided in context or through ir.default) This commit is a followup of odoo/odoo@7b90bf3abc8d to ensure we properly fallback when `default_get()` don't return a value. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update corrects internal typing information used by the web module's shared object utilities. It helps developers avoid mistakes when using these helpers, reducing the chance of related issues in future changes without affecting end users directly.
Original PR description
`K[]` means that `properties` should be passed as an array, which is not the expected format. Typing must be rigorously correct to be useful. See example of error in related ENT PR. Task-4749289
This fixes how the online shop chooses which page header is active by turning off all alternatives before enabling the selected one. It helps prevent incorrect or overlapping header displays, creating a more consistent shopping experience for visitors.
This change prevents popover animations from running during activity-related automated tests. It reduces test timing issues and helps keep validation results stable without changing business features.
Original PR description
HOOT disables CSS animations (https://github.com/odoo/odoo/commit/008541343faa39b5749f1d1621a8832f1a9167ad) But Popover uses `HTMLElement.animate()` directly leading to race conditions. After this commit, the race conditions mentioned should be fixed. runbot-error-188379 runbot-error-188378
The AI chat button is now hidden in Documents folder views where there is no specific record for the chat to reference. This prevents users from encountering an error when opening the chatter and clicking the AI button in that context.
Original PR description
How to reproduce: - Open Documents, go into a folder - Open its chatter, click on the AI btn Current behavior: - Traceback: https://pastebin.com/kyCq2yBE Solution: The AI chat requires a record but when opening a folder in the Documents app, there is no record to refer to, resulting to an error. As a fix, we won't show the AI button in case of missing record. Task-ID: 4796869