Thursday, June 10, 2021
3 changes · master
Resolved issues and error corrections
This fix prevents stock replenishment processing from entering an endless retry cycle when custom logic reports failed reorder rules incorrectly. It helps keep inventory operations moving reliably and avoids background processes hanging on repeated failures.
Original PR description
A security has been added to avoid an infinite loop due to custom code if the failing orderpoints were not correctly return in order to exclude them from the set to retry. However after a first batch if some orderpoints were correctly exclude orderpoints_exceptions will not be empty and during the second iteration failed_orderpoints will be always filled from exceptions of previous iterations and the infinite loop will not be detected. opw-2525893
Manufacturing orders now correctly include extra components added from the simplified view when a backorder is created. This keeps backorder behavior consistent across manufacturing screens and helps avoid missing materials in follow-up production work.
Original PR description
Following https://github.com/odoo/odoo/pull/64911, components that are added in the simplified view of an MO are not transferred to the backorder, which is not aligned with the behavior of the tablet view. Enterprise PR: https://github.com/odoo/enterprise/pull/18897 Task: 2566749 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
When extra components are added to a manufacturing order in the simplified view, they are now included correctly when a backorder is created. This keeps the simplified workflow consistent with the tablet workflow and helps avoid missing materials on follow-up production orders.
Original PR description
Following https://github.com/odoo/odoo/pull/64911, components that are added in the simplified view of an MO are not transferred to the backorder, which is not aligned with the behavior of the tablet view. Community PR: https://github.com/odoo/odoo/pull/71925 Task: 2566749