Daily updates from Odoo
Sunday, July 12, 2026
4 changes · saas-19.1
Resolved issues and error corrections
AI features now skip fields a user is not allowed to access instead of failing the whole request. This keeps the AI experience available to regular users while respecting existing access rules.
Original PR description
- issue: _ai_serialize_fields_data() builds the JSON context sent to the AI model by iterating over all fields of a record. It is meant to silently skip any field the current user has no access to, but the field value was read outside of the try/except AccessError guard. As a result, any field that raises an AccessError when accessed (e.g. res.partner.rtc_session_ids, restricted to base.group_system) made the whole AI request crash for non-admin users, even though the feature is meant to be usable by everyone. - fix: Move the field value read inside the try block so the existing except AccessError: continue correctly skips inaccessible fields instead of letting the exception propagate. opw-6311015 Forward-Port-Of: odoo/enterprise#124000
The point of sale now loads only the Kenya e-invoicing classification records that are actually used by products. This reduces unnecessary data loading, helping POS sessions start more efficiently without changing cashier workflows.
Original PR description
Before `product.unspsc.code` and `l10n_ke_edi_oscu.code` records were loaded without domain, which could lead to loading all records of these models in POS, which is not necessary. This commit adds a domain to the loading of these records, so that only the records that are actually used in the products are loaded in POS. Forward-Port-Of: odoo/enterprise#123684
This update resolves an issue where customers were not appearing in the POS list when using the Taiwan localization. The fix updates the Chart of Accounts to correctly display customer accounts for Taiwan companies, ensuring all customers are visible in POS transactions. This improves the user experience for Taiwan-based businesses.
Original PR description
## Current behavior: Currently, when we go into POS using l10n_tw localization, none of the customers appear on the list. ## Expected behavior: All customers should be shown when using Taiwan localization ## Steps to reproduce: 1. Install l10n_tw and POS modules 2. Use the default US company, observe the customer list in POS. All of them are shown 3. Create and switch to a Taiwan company, go back to POS 4. Observe that no customers are shown ## Cause of the issue: Since 19.0, there is a check where if the default payable or receivable account set on the partner is non-trade, those accounts do not appear ## Fix: - Updated AR accounts in COA template file - Added migration script to version 1.1 opw-6298634 Forward-Port-Of: odoo/odoo#270738
Documentation and clarification updates
This pull request represents a legal compliance action (CLA) signed by jota2rz. It ensures that the code changes align with Odoo's licensing terms. This update is part of a larger effort to maintain legal compliance within the Odoo project.
Original PR description
Signing again at 19.0 to be able to continue with this PR: https://github.com/odoo/enterprise/pull/123387 Forward-Port-Of: odoo/odoo#275490