Category: Odoo, ERP and warehouse operations
Author: AorBorC Technologies
Published: December 2, 2026
A warehouse operator starts a return for two units of one component. Production is still counting on the rest of the pick. If starting the return releases the entire reservation, the planner may see a shortage before anything has moved.
On December 1, Odoo merged a fix into its 20.0 source branch for this behavior. Odoo’s change note gives the example of a partial component return in two- or three-step manufacturing. Creating the return transfer could release reservations on linked downstream moves before the return was confirmed. Even a return that was later cancelled could cause the disruption. The change removes that blanket release when the return is created. Validation can still reduce a linked reservation when returning stock requires it.
A partial return should change the reservation only by the stock the operation actually takes away.
Where the warehouse and production records meet
In two-step manufacturing, Odoo creates a transfer to pick components and a manufacturing order. Three-step manufacturing also tracks moving finished goods into stock. The component transfer and the manufacturing order are linked, so a return on an earlier transfer can affect what a later move has reserved.
A reservation identifies stock allocated to a move. It is worth checking separately from what the warehouse physically holds and what the production order requires. A draft return, a validated movement, and a planned quantity each tell you something different. The return record alone cannot tell the planner what is still available for the job.
In one automated test included with the fix, Odoo validates a partial return of two units in a linked picking chain and checks that eight units remain on the downstream move. The warehouse test below uses the same principle. Record what was reserved at the start, verify that creating and cancelling an unvalidated return leaves the linked pick intact, then check the exact quantity change after validation.
Implementation checklist
- Confirm the build and warehouse route. Verify whether the build you are testing includes the change. In a test database, use the same two- or three-step route and reservation settings as the affected warehouse. Choose a completed transfer that feeds a downstream move with stock already reserved.
- Take a baseline for one linked job. Record the source transfer, downstream move and manufacturing order. Note component demand, reserved quantity, location, and lot or serial data if relevant. Include a second reserved component so you can detect an unrelated release.
- Create and cancel a draft return. Start a return of part of the first component. Before validation, check both downstream reservations against the baseline. Cancel the unvalidated return and check again. The linked job should still have the reservations it was using before the return was started.
- Run the validated case separately. Reset to the same baseline and process a partial return that draws on the stock allocated to the linked move. Check the posted return quantity and both stock locations. On the linked move, expect only the reservation change the validated return requires. Check the second component and compare any remaining shortage against the planned quantity.
- Check what operations and procurement see. Have the operator confirm the remaining pick and the planner verify the order’s readiness. If replenishment or a warehouse integration uses this stock, compare what each one receives after the draft and validated cases. For a supplier return, reconcile the validated transfer with the purchase record. Have finance review any valuation or credit expected under the configured workflow.
- Assign the exception. Record the warehouse, transfer IDs, product, quantities, and build if the reservation changes unexpectedly. Have the warehouse owner check the physical count and the ERP owner trace the linked moves before anyone reassigns stock or adjusts a forecast.
Risks and limits
The commit documents a change in the Odoo 20.0 source branch. Check the actual deployed build and any custom modules that alter returns or reservations before relying on the behavior. Existing transfers with incorrect reservations still need review. Reservation policies differ by operation type, so record the configured policy when you test.
Keep the test specific to the linked transfer that feeds production. Supplier receipts, internal picks, and online customer returns can use different routes. If your Shopify integration reads available inventory from Odoo, verify that the quantity sent to the storefront follows your availability rule and that the integration uses the appropriate SKU and location. Validate stock and finance records in their own workflows.
What to do next
Pick one recent return that left a production team asking where its components went. In a test environment, compare the reservation before creating the return, while the return is open, and after the return is validated. Ask warehouse and production to agree on the expected quantity at each point.
AorBorC is a founder-led Zoho and AI business systems partner. In Odoo implementations and ERP module development, we use these transfer checks to find gaps between warehouse work, purchasing, and reporting. The AorBorC company profile gives project stakeholders our delivery and support scope. If you need help tracing a reservation discrepancy, plan a review of the Odoo workflow and bring one linked transfer and manufacturing order.
