Wednesday, March 26, 2025
7 changes · saas-18.2
Resolved issues and error corrections
This fixes an issue where rapidly switching between pasted links in the editor could cause the link preview to appear blank. The change prevents the link tools from repeatedly reopening and closing, improving reliability when editing descriptions or other rich text fields.
Original PR description
**Problem**: Calling `closeLinkTools` on `link.isConnected` sets the selection, which triggers `selectionchange`, leading to `openLinkTools`, which then calls `closeLinkTools`, causing an infinite loop. **Solution**: In `openLinkTools`, use `this.overlay.close();` to close the link popover without changing the selection. **Steps to reproduce**: 1. Create a new task. 2. Select and copy the task's URL. 3. Paste the URL in the description. 4. Press Enter. 5. Paste the URL again. 6. Click quickly between the two URLs. - **Issue**: Sometimes, the link preview appears blank. **opw-4669353** --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Creating a new server action and choosing the Webhook type no longer triggers an error before a model is selected. This prevents an avoidable setup interruption and makes configuring automated actions smoother for users.
Original PR description
When you create a new server action and select the type "Webhook", you get a traceback because no model is set yet on the server action. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Expense search filters now match partial words automatically, making it easier for users to find the records they need. Users no longer need to know exact terms or add special wildcard characters when searching expenses.
Original PR description
Since the search view are used by final users and they are most of time search on partial words, we don't want to force them to use an exact match or add manually "%" at the beginning and end of their search. 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
Scheduled cleanup now avoids competing with active scheduled jobs for the same records. This reduces the chance of background jobs waiting on database locks, improving reliability without changing user-facing workflows.
Original PR description
When a cron is starting, it removes all triggers that are in the past and the autovacuum job on triggers removes all triggers older than a week. When the autovacuum tries to run, there is a high probability that a cron is already running and rows are being deleted/locked. We change the autovacuum so that it only removes the records for inactive cron jobs because the active ones will already be removed when that job will start. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures appraisal reports use the correct colors for their current status after status names changed. It helps users quickly read appraisal report states correctly and avoids misleading visual indicators.
Original PR description
ref: <https://runbot.odoo.com/odoo/error/161511> - fix the `COLORS_BY_STATE` with the new state keys
This fix ensures signature fields keep their intended alignment when users place them on documents. It helps make prepared signing documents look more consistent and reduces manual adjustment after adding fields.
Original PR description
This commit addresses post merge fixes in the UI after the big rework of the sidebar and UI improvements: - Fix alignment of the sign items when being dropped, as from now on sign items follow the pre-defined alignment and are not forced to be rendered in the center anymore. task-4555838
This change removes a test setup step that reused an existing account code, preventing duplicate-code conflicts during automated validation. It helps keep accounting report test runs stable without changing day-to-day user functionality.
Original PR description
The Issue: Prior to this commit, when changing the account code for Outstanding Receipts for the test test_cash_basis_general_ledger_load_more_lines, the code '101403' already exists. The Fix: remove the line that force writing the existing account code runbot-134665