Thursday, June 5, 2025
8 changes · saas-18.3
Resolved issues and error corrections
This update removes leftover debug statements from the Mail discussion area. It helps keep the user experience cleaner and avoids unnecessary console noise without changing business functionality.
This fix prevents an error when an IoT device reference is missing from a partial record. It helps keep IoT-related screens and actions stable when not all device details are available.
Original PR description
`iot_id.id` was throwing an error when `iot_id` was not provided.
This fixes a calendar display issue that could leave an empty space after users quickly opened and closed the side panel. The calendar now recalculates its size during rapid layout changes, keeping the view usable and visually consistent.
Original PR description
When we toggle the CalendarSidePanel many times too quickly, we can have the CalendarSidePanel hidden and a blank space on the side of the FullCalendar as before the previous fix[1]. This commit, recalculate the size(in particular the width in our case) of FullCalendar at the start and the end of all batched resizes. [1]: odoo/odoo@46bfc53b66ecf410ee7703ada79dfaa714331660 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix stops users from saving bank reconciliation models with invalid pattern-matching text. It prevents later errors when bank transactions are opened, improving reliability for accounting workflows.
Original PR description
Currently, an error occurs when saving a reconciliation form with an invalid regex (e.g., `[` ) in the `Label Parameter` field, while the `Label` is set to `Match Regex`. **Steps to produce:** - Install the `accountant` module (without demo data). - Navigate to: `Accounting > Bank > Models (under Reconciliation)`. - Open any reconcile model, set `Label` to `Match Regex` and `Label Parameter` to `'['` and save. - Load demo data and open the bank transactions. **Error:** `InvalidRegularExpression: invalid regular expression: brackets [] not balanced` **Root Cause:** Currently, there is no constraint on the `Label Parameter` field. when Label is set to `match_regex`, which allows saving invalid regex. This commit ensures user cannot set an invalid regex in the Label Parameter. sentry - 6638289601
The Discuss app no longer shows chat hub options when there are no chat windows or bubbles to manage. This keeps the interface cleaner and avoids confusing users with irrelevant controls.
Original PR description
Before this commit, when accessing discuss app with some chat windows or bubbles in desktop, it was showing the chat hub options in the bottom right. This happens of some spaghetti code with addition…
Before this commit, when accessing discuss app with some chat windows or bubbles in desktop, it was showing the chat hub options in the bottom right. This happens of some spaghetti code with addition of `ai` module that requires to show sometimes chat window in discuss app: Visibility of chat hub was strictly not shown in desktop before this AI feature, but now the chat hub condition is more complex. The new feature was added with minimal change to code, but this uses getter that were poorly named and made it hard to see overall condition for the actual showing of chat hub items, including the option button. This commit fixes the issue by making the "options" button aware of whether some chat windows or bubbles are shown, through a new field `ChatHub.showConversations`. To remedy a bit with spaghetti code, some code have been moved to models and new fields use consistent wording "show". rather than (should)Display(ed). To follow stable policy, old getters have been flagged deprecated and are rewired to the new code. https://github.com/odoo/enterprise/pull/86732
The asset depreciation schedule header now correctly matches the number of columns shown in the report. This prevents a small visual layout issue and keeps the report easier to read for users reviewing asset depreciation details.
Original PR description
A previous fix removed one column without updating the colspan of the custom header. https://github.com/odoo/enterprise/commit/78265a864fafd789df10c0f75590aaa605547b33
This change updates WhatsApp-related automated tests to match a recent change where channel access settings moved into a popup menu. It helps keep quality checks reliable without changing day-to-day user behavior.
Original PR description
Purpose of this commit: After [1], the channel access setting have been add inside into a popup menu, adapt the conflicting testcases accordingly. [1] odoo/odoo#178313 task-4100138 Backport of https://github.com/odoo/enterprise/pull/73626
This fixes the Discuss app so chat hub options no longer appear in places where they are not usable. Users get a cleaner interface and avoid confusion from actions that should only be available in chat windows.
Original PR description
https://github.com/odoo/odoo/pull/212452