Wednesday, May 20, 2026
7 changes · saas-18.2
Resolved issues and error corrections
A typo was corrected in the Mexican localization accounting group data to align with official SAT guidance. This helps keep account grouping labels accurate for Mexican accounting and compliance reporting.
Original PR description
Source: https://www.sat.gob.mx/minisitio/NormatividadRMFyRGCE/documentos2026/rgce/anexos/Anexo24delasRGCEpara2026.pdf opw-6174385 Forward-Port-Of: odoo/odoo#262549
This fixes an internal accounting test so it no longer depends on an additional accounting app being installed. It helps keep automated checks reliable for standard Accounting setups, reducing false test failures during development and maintenance.
Original PR description
**Problem:** In PR #263425, the test uses the user group `group_account_manager` to grant write access to `bank.statement.line`. However, this write access is available through `group_account_user` which is only inherited in `account_accountant`. **Solution:** Instead, use the user group `group_account_user` directly so the test works with only `account` installed. Forward-Port-Of: odoo/odoo#265049 Forward-Port-Of: odoo/odoo#265002
The HTML editor now correctly turns web addresses with uppercase or mixed-case letters into clickable links when users type a space. It also recognizes short popular domains such as x.com and t.co, reducing manual link formatting for users.
Original PR description
### Description of the issue/feature this PR addresses: - URL_REGEX was constructed with the "i" flag, but passing a RegExp object to new RegExp(regex, "g") silently drops the original flags, leaving only "g". This caused uppercase (ODOO.COM) and mixed-case (Odoo.Com) URLs to not be converted to links when pressing space. ### Desired behavior after PR is merged: - URL_REGEX.source with explicit "gi" flags to preserve case-insensitive matching in `prepareConvertToLink`. - Allow automatic URL detection for single-character domains such as `x.com`, `t.co`, and `a.io` by relaxing the minimum domain label length in the URL regex from 2 to 1 characters. task-6199269 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#263255
The stock replenishment flow now handles products whose routes do not apply to the active company instead of showing an error. This prevents an unexpected crash and lets users continue replenishment with no route selected when appropriate.
Original PR description
## Steps to Reproduce: 1. Install the stock module. 2. Activate "Multi-Step Routes" from settings. 3. Activate the "My Company (Chicago)" company. 4. Create a route for the Chicago company. 5. Create a new product and enable the created route on it. 6. Click on the "Replenish" button. ## Error: `IndexError - tuple index out of range` ## Cause: At [1], when none of the product routes belong to the current company or are shared routes, the filtering returns an empty recordset. As a result, trying to access the first route from the empty result raises an index error. ## Fix: This commit only assigns `route_id` when a route matches the given condition. Otherwise, it keeps the value as `False`. [1] - https://github.com/odoo/odoo/blob/13c0e082c260381a332fe1425fe2ba83a1c0c579/addons/stock/wizard/product_replenish.py#L78 sentry-7488075413 Forward-Port-Of: odoo/odoo#265179
This update ensures a test employee always has a defined timezone when demo data is not available. It helps keep employee leave and work entry validation consistent during automated testing, reducing false failures.
Original PR description
In the test `test_create_work_entry_for_flexible_employee_leave`, the `jules_emp` will not have a timezone if the test is ran without demo data. This commit adds a timezone to ensure consistent behavior. error-230949 (https://runbot.odoo.com/odoo/error/230949) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#225544
The restaurant point of sale now correctly removes the message indicator after a general note is deleted. This prevents staff from seeing a misleading “Send to Kitchen” badge when there is no note to send.
Original PR description
Steps to reproduce:
-----------
- Open POS Restaurant
- Add a General Note
- Remove the General Note
- The message badge on “Send to Kitchen” remains visible
Issue:
-----------
Removing a General Note set `general_note` to `undefined`, which was
detected as a change and kept the badge visible.
Fix:
--------------
Normalize empty General Notes to an empty string ("") so removing a note
restores the correct initial state.
Task-6101501
Related PR: odoo/enterprise#113514
Forward-Port-Of: odoo/odoo#258632This update corrects a translation issue within the Gantt view, specifically the button used to toggle display modes. The change ensures that all button labels are accurately translated, improving the user experience for international users. This was reported and resolved by our translation team.
Original PR description
The title of the button allowing to toggle the display mode in the Gantt view was not translated. This commit adds a getter to compute the title based on the current display mode, and uses it in the template. Issue reported by translator. Forward-Port-Of: odoo/enterprise#117739