Daily updates from Odoo
Friday, June 27, 2025
9 changes · saas-18.3
Resolved issues and error corrections
Fixed an issue that prevented recipients from completing a document signature when SMS verification was enabled. The signing link now uses the correct access information, avoiding an error after entering the received SMS code.
Original PR description
To reproduce: ============= - Activate and set up the SMS authentication for the Sign app. - Send a document for signature request with sms validation for a contact. - Go sign the document via the signature request link, sign and validate. - validate the recieved code and you will get the error: 'Error message: Sorry, an error has occurred. Please complete the document again.' Problem: ======== when constructing the signature request link, we retrieve the `accessToken` from `props`, while `accessToken` is not defined in the `props` of the `Document` component. Solution: ========= `accessToken` is defined directly in the `Document` component we can retreive it from `this.accessToken` opw-4813339
This fixes a small setup issue in the Austrian point-of-sale module by correcting a database script typo. It helps ensure automated checks and module installation work reliably without syntax-related failures.
Original PR description
Steps to reproduce: 1. install `l10n_at_pos` module 2. run `test_10_neutralize` test adding missing commas in the `neutralize.sql` file to ensure proper SQL syntax. Error [link](https://runbot.odoo.com/odoo/error/181676) build_error-181676
The update fixes a return review workflow issue so only newly created returns can be automatically marked as reviewed. This prevents already submitted returns from being moved backward in the process, helping preserve the correct approval status.
Original PR description
When we are trying to auto review returns, we are not checking if the return is a new return and it was possible for checks in the submitted state to be set back to the reviewed state. task-4900867
Bank statement matching now requires a longer reference before treating it as an exact match. This helps reduce incorrect automatic matches during reconciliation and improves accounting accuracy.
Original PR description
Before, aml.ref had to be at least 5char length to be a full match candidate. But it seems 5 is not enough and leads to unwanted matches, so let's increase the limit to 7. no-task
Web Studio now blocks invalid custom view changes before they can be saved. This prevents users from accidentally making Studio unable to open a form after editing technical view settings.
Original PR description
This error occurs when a user modifies a Studio-generated custom form view by updating it through the technical settings and adds an invalid XPath expression. As a result, Web Studio fails to open and load the view. **Steps to replicate:** * Install `contacts` and `web_studio` * Open form view for any contact and Add/remove any field using studio. * Go to technical>User Interface>Views> `Odoo Studio:res.partner.form customization` * Add the following line:<xpath expr='/form[1]/field[6]'/> inside data and save. * Go to contact form view and open studio. `ValueError:The element <xpath expr='/form[1]/field[6]'/> cannot be located in the main view` **Solution** * Prevent users from saving changes to a view by raising a validation error when an invalid XPath expression is detected. **Sentry-6678221213**
Selecting all documents now correctly focuses the first document when none was previously focused. This keeps the document details panel aligned with the current selection and avoids confusion for users working in list or kanban views.
Original PR description
Before this commit, when selecting all (ctrl-a) in kanban or list views the first document is shown in the detail panel but the focus is not set on it. This commit fix this issue, when no document is focused and we select all the focus is set on the first document, if a document is already selected when selecting all the focus will still be that document. Task-4813624
This fixes an issue where the tax returns page could fail for European companies when an optional VAT validation component was not installed. Users in affected localizations, such as Estonia, can now open returns without encountering a missing setting error.
Original PR description
the field vat_check_vies on res.company is added in the base_vat module, which is not a required dependency for account_reports. the function _generic_vies_vat_check might therefore result in an error with a missing field. runbot issue: 227603
Closing an AI agent chat no longer triggers an error when the chat session reference is missing. The fix also makes chat cleanup work consistently whether users close the chat from the window or the chat bubble.
Original PR description
Before when closing agent chat an exception occurred because the `channel_id` was undefined. This happens because when doing an await in the thread is set to `undefined`. This commit introduces a few…
Before when closing agent chat an exception occurred because the `channel_id` was undefined. This happens because when doing an await in the thread is set to `undefined`. This commit introduces a few modifications to the behaviour of the chat with the agent: Firstly, this commit moves the code calling the ORM to delete the chat history when closing the chat window to the `chat_window_model_patch.js`. This allows for the behaviour to also be applied when closing the chat from the chat bubble. Additionally, the function has been modified to ensure that the thread is defined when the ORM call is made. The ORM call to close the agent chat was simplified to use the already existing `close_ai_chat` from the `discuss.channel` override. The method now uses a new `channel_type` "ai_chat", to identify channels which contain an `ai.agent`. Along with the new `channel_type`, a new function `_get_or_create_ai_chat` was introduced to properly create the "ai_chat" channels. task-4796898
The spreadsheet filter side panel now uses less space for field labels, leaving more room for matching fields. This makes the panel easier to read and use when configuring spreadsheet filters.
Original PR description
reduce the size of the label that took nearly half the width of the sidepanel.