Daily updates from Odoo
Tuesday, February 24, 2026
4 changes · saas-18.2
Resolved issues and error corrections
This update fixes a discrepancy in the automated tests for the Hong Kong payroll module. A recent salary rule correction was missed in the testing suite, and this change ensures the tests accurately reflect the updated functionality. This ensures the payroll calculations are reliable and compliant.
Original PR description
In odoo/enterprise:100842 a salary rule was corrected, but the related tests were not. This will correct that mistake. Forward-Port-Of: odoo/enterprise#108241
This update prevents users from canceling subscriptions if they don't have visibility to the associated invoices. Previously, a sales representative could cancel a subscription even without seeing the invoices, leading to potential revenue loss. Now, the system ensures cancellation is only possible when invoices are accessible to the user.
Original PR description
Before this commit, when a user had access to an invoiced subscription but not to the invoiced, he could cancel the subscription. Step to reproduce: - create a subscription in company A, with a pricelist available in company B. Sales person A belong to company A. - invoice the subscription and confirm the invoice - update the company (company B) and sales person of the subscription (B). The new salesperon don't see the invoice in the stat button. After this commit salesperson B can't cancel the subscription. task-5907345 Forward-Port-Of: odoo/enterprise#106441
This update corrects a test case within the quality control module to reflect recent changes in how Odoo handles the merging of picking moves. Specifically, the test now correctly validates that transfers only combine with existing ones when a procurement group is defined. This ensures accurate tracking and reporting of inventory movements.
Original PR description
Fix the test case to align with the updated picking move merge behavior, where the next transfer merges into an existing one only when a procurement group (group_id) is set TaskID-5242340 Forward-Port-Of: odoo/enterprise#99342
This update resolves an issue preventing accurate testing of the Arabic VAT (AREDI) invoice validation process. By using 'sudo()' when writing temporary files, the system now bypasses permission restrictions, ensuring consistent validation results in testing environments. This improves the reliability of our testing and reduces the risk of errors in live systems.
Original PR description
This pull request makes a minor update to the `_dummy_afip_validation` method in `account_move.py`, improving its reliability for testing environments. * Testing reliability: The method now uses `sudo()` when writing dummy AFIP fields, ensuring that the operation succeeds even if the current user lacks write permissions. Without this fix, if the user doesn't belong to group "base system", it won't be able to validate invoices in testing environment. <img width="1258" height="454" alt="image" src="https://github.com/user-attachments/assets/522bfd9d-33be-4bcd-a60b-ef4c09a8e0d6" /> Forward-Port-Of: odoo/enterprise#107937