Daily updates from Odoo
Friday, December 26, 2025
3 changes · saas-18.2
Resolved issues and error corrections
This update corrects a previous error in the Profit & Loss report's Gross Profit calculation, now accurately reflecting the impact of stock levels. Additionally, the report's layout has been simplified for better user understanding. These changes ensure more reliable financial reporting.
Original PR description
Previously, the Gross Profit calculation did not include the stock effect, which resulted in incorrect values. With this PR, the Gross Profit is now computed including the stock effect, ensuring accurate results. In addition, some UI adjustments have been made to simplify and improve the readability of the report. task-5357539 opw-5163207 master PR: https://github.com/odoo/enterprise/pull/101650 Forward-Port-Of: odoo/enterprise#101649
This update fixes a discrepancy in payment calculations for UrbanPiper orders. Previously, a small difference was appearing after payment, which has now been resolved to ensure accurate accounting. This ensures all UrbanPiper transactions are correctly reflected in the system.
Original PR description
In this commit, The amount difference should be 0.0 after the Urbanpiper order has been paid. task-5441252 Forward-Port-Of: odoo/enterprise#102872
This update enhances security by granting necessary permissions to non-HR users when processing batch payments. Previously, a function required HR group access, limiting functionality. Adding sudo ensures correct operation without restricting access for other users.
Original PR description
In commit a6ed1bd, new logic for handling employee addresses was introduced. However, the _get_all_addr function requires employee_ids, which implicitly requires access to the Employees model and, therefore, be in HR groups. During the compute process, _get_all_addr is only used to check whether an employee has an address; no address data is exposed. To fix this issue, the call to _get_all_addr should be executed with sudo(). OPW-5428523 Forward-Port-Of: odoo/enterprise#102851