Back to blog
Article

What an Odoo Partial Return Should Do to Reserved Stock

An Odoo 20.0 source update changes when a partial return can release stock from linked moves. Test draft, cancelled and validated returns on one production job.

AorBorC field note / Last reviewed December 2, 2026

5m
Read time
Dec
Published
What an Odoo Partial Return Should Do to Reserved Stock

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.

Next step

Need help mapping this workflow?

Start with the workflow, roles, decisions, and system handoffs. AorBorC can map the operating problem, identify the right build path, and define a practical first phase before your team commits to implementation.

Related Articles

November 19, 2026

Odoo 20 Blanket-Order Fix: Check Edited Supplier Records Before Replenishment

A November 18 Odoo 20 fix updates the linked supplier record when a confirmed blanket-order product or purchase unit changes. Verify the target behavior, then review previously edited agreements and their replenishment documents.

Read article

November 27, 2026

How to Verify ERP Access With Odoo 20 Read-Only API Keys

Odoo’s public 20.0 branch adds read-only API keys. Use one warehouse report to verify which company records the integration can read, which changes it cannot make, and who approves downstream actions.

Read article