Daily updates from Odoo
Thursday, June 25, 2026
2 changes · 17.0
Resolved issues and error corrections
This update adjusts how manufacturing work order time is calculated so all time loss types are kept in the total. It helps avoid confusing or incomplete time tracking in cases where delays or interruptions were previously left out.
Original PR description
This commit amend this previous fix 08ef4947fe2e3edb990b544a9b9c67c861d3b01b that make the duration of workorder time respect the overlaps. However we decided to exclude some time loss types in the computation. This will surely broke some cases and can be misunderstood. This will be reworked correctly later. 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
This fix adds validation to the Company SIA Code so it must be exactly 5 characters for Italian Ri.Ba. exports. This prevents batch payment validation from failing with an error when the code is entered with the wrong length.
Original PR description
Currently, the sia_code field on res.company lacks length validation. For Italian Ri.Ba (CBI) exports, this field MUST be exactly 5 characters. If a user enters more (e.g., during initial setup), the Batch Payment validation (specifically the XML file generation) crashes with a traceback. Steps to Reproduce: - Set Company SIA Code to 6+ characters - Create multiple payments with Ri.Ba. method - Create a Ri.Ba Batch Payment - Click 'Validate' Ticket [link](https://www.odoo.com/odoo/project.task/6031062) opw-6031062