Skip to content

Instantly share code, notes, and snippets.

@ryanc-me
ryanc-me / update_quant_reservation.md
Last active November 4, 2025 19:53
Odoo - Update Quant Reservation

Update Quant Reservation

"It is not possible to unreserve more products of <product name> than you have in stock"

Sometimes, the reserved_quantity on the stock.quant record for a product becomes out-of-sync with the sum of the reserved quantity in stock.move.lines for that product.

For example, consider:

  • Product A (quant): on-hand = 50, reserved = 10
  • Picking A (move): reserved = 10
  • Picking B (move): reserved = 5