Sunday, February 15, 2026
5 changes · saas-18.3
Resolved issues and error corrections
This update addresses a security vulnerability by ensuring that invoices with untrusted accounts are not processed. The team simplified the process by removing unnecessary computation logic and relying on existing methods, improving efficiency and reducing potential risks. This change enhances the security of our invoicing system.
Original PR description
fixed some tests and remove the computation logic from account_move_reversal wizard, to rely on existing compute method --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#247954
This update fixes a potential issue where translation mapping could fail when the number of translated terms didn't perfectly match the original language. By defaulting to the original language's values, the system now handles these discrepancies more reliably, ensuring accurate translations. This prevents errors and improves the overall translation process within Odoo.
Original PR description
When the number of translated terms differs between the base language and its translation, fall back to the base value instead of attempting to map terms. This avoids potential errors and incorrect translation mappings. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#248648 Forward-Port-Of: odoo/odoo#248474
This update corrects an issue where e-invoices generated with attachments were failing PDF/A-3 validation. The problem stemmed from incorrectly storing file sizes, leading to errors reported by PDF validation tools. This fix ensures our e-invoices meet the required PDF/A-3 standards, guaranteeing compliance and proper processing.
Original PR description
The `/Size` parameter in embedded file `/Params` was being set using `NameObject` instead of `NumberObject`, resulting in the size value being stored as a PDF Name Object (e.g., `/19410`) rather than a numeric integer (`19410`).
This causes PDF/A-3 validators to report zero-size or invalid attachments, breaking compliance with ISO 19005-3 (PDF/A-3A).
Steps to reproduce:
- Generate an e-invoice PDF with XML attachments (e.g., Factur-X)
- Validate the PDF with veraPDF or Adobe Acrobat Preflight
- Embedded file size is reported as zero or invalid
Fix:
```diff
- NameObject('/Size'): NameObject(f"/{len(attachment['content'])}"),
+ NameObject('/Size'): NumberObject(len(attachment['content'])),
Description of the issue/feature this PR addresses:
Current behavior before PR:
Desired behavior after PR is merged:
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#248621This update ensures that pickings are automatically created when validating POS orders linked to sale orders, especially when inventory management creates pickings at the end of a session. Previously, stock levels weren't updated correctly. Now, stock levels will accurately reflect the items sold through POS orders.
Original PR description
Before this commit, when validating a POS order linked to a sale order, if the Inventory Management was configured to create pickings at the end of the session, no picking was created for the order, and the sale order stock was not updated. This commit fixes this issue by ensuring that the picking is created for the imported sale orders in real time. opw-5423113 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#248424 Forward-Port-Of: odoo/odoo#244739
This update strengthens the security of invoices by preventing untrusted accounts from being associated with inbound invoices. The change addresses a vulnerability related to invoice processing, ensuring greater data integrity and protection against potential misuse. This update was made as part of a broader effort to enhance the security of the Odoo Enterprise platform.
Original PR description
fixed some tests see odoo#247954 Forward-Port-Of: odoo/enterprise#106980