Wednesday, May 14, 2025
8 changes · saas-18.3
Resolved issues and error corrections
The HTML editor now prevents users from applying a link when the URL is blank, avoiding an error that could interrupt editing. If a user clears both the link text and URL and clicks away, the empty link is removed cleanly instead.
Original PR description
**Current behavior before PR:** - Removing the label and url from the link popover and attempting to save the link would trigger a traceback. **Desired behavior after PR is merged:** - The Apply button is disabled when the URL field is empty. - Pressing Enter no longer creates or saves a link if the url is missing. - Clicking outside the popover after clearing the label and url will now remove the link. task: 4766687
The self-order kiosk test now uses a dedicated product category so it can reliably find the expected translated button label. This prevents false test failures in French and helps keep the point-of-sale self-order flow stable.
Original PR description
Since https://github.com/odoo/odoo/commit/c2191816fc781bfae350039c4259f1af8a4c3619, the terme "Uncategorised" has been translated in french. In the tour, it was not taken into account so the test was failing as it was not finding the correct button. runbot-error: 198563 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where opening or loading a message without content could cause the mail system to crash. Users should now be able to access affected conversations reliably, even when a message body is missing.
Original PR description
Following odoo/odoo@eaffe784d90a, ensure we don't crash when loading message where body is `False`. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix makes automated checks for the HTML editor more reliable by removing browser-version differences in text sizing. It helps ensure list and paragraph spacing stays consistent when the editor is validated in Chrome.
Original PR description
Problem: The test is failing due to inconsistent `font-size` rendering across different Chrome versions, which affects `padding-inline-start`. Solution: Explicitly set `font-size` and `font-family` to ensure consistent `padding-inline-start` calculation across Chrome versions. runbot-xxxxx --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update corrects an automated test for the HTML editor color selector so it works consistently across Odoo editions. It helps keep release checks reliable without changing what users see or how the editor behaves.
Original PR description
After merging the commit [1], the unit test fails in community version. This happens because the value of selected text color is `--body-color`, which is different in community then the enterprise. This PR aims to fix the test case. [1]: https://github.com/odoo/odoo/commit/1c60ca5052c91c4b9a163f843c50de443ebbc78a --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Users can now view question options from the survey navigation menu without encountering an error. This improves reliability for live and custom surveys by making the same question details accessible from all expected entry points.
Original PR description
The issue concerns surveys with a live session available ('live_session' and 'custom' types).
When you want to consult the options of a question:
- if you do it from the survey's form view, no problem
- if you do it from the navbar's 'Questions and Answers' menu, you'll get an EvalError indicating that the name 'parent' is not defined.
'parent' here refers to a survey container record and works only inside sub-views of relational fields.
To fix it, we replace calls to 'parent.field' by related fields.
task-4592388This update corrects how Point of Sale upgrade data is sent to the database during cleanup. It helps ensure the upgrade process handles duplicate identifiers reliably and avoids database interpretation errors.
Original PR description
To send a list to PostgreSQL, it should be a tuple, or postgreSQL will cast a Python list in a PostgreSQL ARRAY. 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
Creating a new manufacturing operation from the configuration screen no longer fails when capacity is missing or set to zero. This prevents an error page and lets users continue setting up manufacturing workflows normally.
Original PR description
A divide-by-zero error occurs when creating a new manufacturing operation from the configuration due to zero capacity being used in the operation cycle calculation. **Steps to reproduce:** * Install mrp with demo data * Go to `mrp>configurations>Operations>New` `ZeroDivisionError: float division by zero` **Solution:** * Setting the capacity value to be one if it is zero, fixes the following issue. **Sentry-6600762870** --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr