Daily updates from Odoo
Sunday, July 12, 2026
3 changes · saas-19.2
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 AI assistance available for non-admin users while preserving existing access restrictions.
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
This update fixes an issue where the ECPay payment portal displayed in simplified Chinese when the Odoo locale was set to traditional Chinese. The fix ensures the portal correctly displays in traditional Chinese, aligning with the user's locale setting and improving the checkout experience for customers in Taiwan.
Original PR description
…chinese ## Current behavior: When Odoo locale is set in traditional Chinese (zh_TW), the ECPay payment portal shows up in simplified Chinese (zh_CN). ## Expected behavior: When Odoo locale is set in…
…chinese ## Current behavior: When Odoo locale is set in traditional Chinese (zh_TW), the ECPay payment portal shows up in simplified Chinese (zh_CN). ## Expected behavior: When Odoo locale is set in traditional Chinese (zh_TW), the ECPay payment portal should show up in traditional Chinese (zh_TW) also. ## Steps to reproduce: In Odoo 19.0, 1. Install modules: payment_ecpay, website, ecommerce 2. Change the company and website language to Traditional Chinese (zh_TW). Make sure the currency is in TWD (Taiwanese Dollar) 3. Add ECPay as a payment method 4. Add some test products and checkout with ECPay 5. Observe the language on ECPay portal website, and payload in V5 package in network tab ## Cause of the issue: Initially the locale mapping was wrong, mapping CHI to zh. There's no "zh" locale, must either be "zh_TW" or "zh_CN". So when the Odoo locale is set to traditional Chinese (zh_TW), it included Language=CHI in the payload and redirect to ECPAY, making ECPay think that we're trying to request the simplified Chinese site. Caused by commit: 76c81d6f67b54940879b1020068c7140c4f2199b ## Fix: Fixed the language mapping following ECPay developer docs, and what language code to be included in the payload sent to ECPay from current Odoo locale. opw-6270820 --------------------------------------------------------------- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#269206
Documentation and clarification updates
This pull request represents a legal compliance update, specifically a Certificate of Legal Acceptance (CLA) signature from jota2rz. This ensures the Odoo project adheres to licensing agreements and allows continued development. The change is a documentation update related to the CLA process.
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