Daily updates from Odoo
Monday, June 15, 2026
6 changes · 19.0
Resolved issues and error corrections
This update corrects a bug in the Datev ledger export that previously miscalculated currency amounts. The fix ensures that tax and currency values align with the invoice's currency, improving the accuracy of the exported data for Datev reporting. This resolves discrepancies between the database and the Datev export.
Original PR description
There is an issue in the Datev export functionality. In the current functionality, the code calculates a delta between the taxes in the `tax_totals` and the ones on the journal items. Issue is, the tax amounts from tax_totals were always in company currency, while the entry itself can use a foreign one. This replaces the use of company currency with the use of the invoice's currency and appropriately adjusts the test featuring foreign currency. Steps: Create a foreign currency. Create an invoice with a taxed product using the currency. Export the ledger to Datev. Inspect the resulting csv. Note that neither the final listed price, nor the rate listed for the currency align with the ones in the db. opw-6275889 Forward-Port-Of: odoo/enterprise#120293
This update ensures that data associated with IoT boxes used in point-of-sale systems is protected when those boxes are removed from the system. Previously, deleting an IoT box could lead to data loss. Now, the system verifies that the box's fiscal data isn't currently in use before allowing deletion, safeguarding important sales information.
Original PR description
Before unlinking an iot.box from the database, we must ensure that its fiscal data module is not currently used in any pos.config. task-id: 5144489
This update corrects a calculation error in the GOSI (Saudi Government Social Insurance) payroll contributions for employees with unpaid leave. The fix prortions contributions based on worked days, accurately reflecting employee attendance and ensuring correct deductions. This improves payroll accuracy and compliance in the Saudi Arabia region.
Original PR description
Task: 6279514
This update addresses a missing rule in the calculation of employer costs within the Odoo Enterprise HR module. Following a review, a crucial rule was added to ensure accurate cost determination, building upon previous improvements. This ensures compliance and accurate reporting of employer costs.
Original PR description
In this previous PR https://github.com/odoo/enterprise/pull/106839 the computation of the employer cost was fixed and many rules were flagged as needed in that computation. After a report, we found one of the rules was missing so we add it in this PR. Task: 6088412
This update fixes a security vulnerability where users without approval permissions could incorrectly interact with approval requests, leading to errors. The change restricts access to 'Accept' and 'Refuse' options within approval activities to only the designated approver, enhancing security and preventing unintended actions.
Original PR description
Currently when a user submits an approval request, an activity is created for the approver who can validate or refuse the request directly from the activity, however these options are also visible to other users who will trigger an error if interacting with the options. This commit removes these options for users who are not the approver. **Steps to reproduce:** - Log in as admin - Go to approvals - Select dropdown menu of General Approval and Edit - Change documents to optionnal - Make sure admin is in the approvers list - Log in as demo - Go to approvals -> General Approval -> New Request - Submit the request - You'll see an activity be created for admin, with Accept and Refuse options - If you select any of these options you will get an access error opw-5423528
This update resolves an issue where project names weren't correctly synchronized with their linked folder names when multiple projects were edited simultaneously. The fix ensures that folder names are updated consistently during multi-editing operations, improving data accuracy and streamlining project management workflows.
Original PR description
Currently, when user multi-edits projects names from list view the linked folder name doesnt get updated. Steps to replicate: - Install `documents_project` and open projects. - Select multiple projects and edit their names. Issue: - The project names get updated but their respective linked folder's name doesnt get updated. Cause: - During multi-edit, `self.documents_folder_id` contains the folders of all selected projects. - As a result, `len(self.documents_folder_id.project_ids) == 1` [1] is evaluated on the combined recordset instead of per project, causing the condition to always fail when multiple projects are renamed. Solution: - Avoided accessing `self.name` on a `multi-recordset` during multi-edit. - Filtered projects individually and updated their document folders using the name in vals. [1]: https://github.com/odoo/enterprise/blob/3c2985ca6011700c271ed14e40e08c89be822753/documents_project/models/project_project.py#L101 sentry-7452096418