Stock Available to Promise Release - Delivery
Glue module between Stock Available to Promise Release and Delivery - Stock.
When updating the delivery method on an unreleased delivery order, it'll ensure moves will take the expected delivery route.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0When you change the delivery method (carrier) on a delivery order that has not yet been released, this module automatically re-routes its stock moves to follow the new carrier's routes.
This is a glue module that connects the Available to Promise Release mechanism with the Delivery (carrier) feature. It only acts on transfers that still have to be released.
What it does:
- When you change the carrier on a delivery order (stock.picking) that is not yet released, the module checks whether the carrier actually changed.
- If it did, it copies the transfer's procurement group with the new carrier and a name like "<original group> - Alternative carrier <carrier name>".
- All moves that are not done or cancelled are moved to this new group.
- The old carrier's active routes are removed from those moves and the new carrier's active routes are added.
- For each affected move, Odoo looks up the matching procurement rule and, if it differs from the current one, updates the source location, rule, route, operation type, procurement method and cancel propagation.
- Moves that were re-routed are then unreleased into a backorder (split order), so the new routing can be applied cleanly.
- If no moves remain on the transfer, the transfer is cancelled.
Where it appears: there is no new menu or screen; the behaviour is triggered automatically when saving a change of carrier on a delivery order. It touches stock.picking and the related stock moves and procurement groups.
Depends on
Required by other modules
Models and fields (1)
- stock.picking · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/stock-logistics-reservation.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.