diff --git a/InvenTree/order/models.py b/InvenTree/order/models.py index fb8b65e6e0..ac7499735e 100644 --- a/InvenTree/order/models.py +++ b/InvenTree/order/models.py @@ -1745,6 +1745,9 @@ class ReturnOrder(TotalPriceMixin, Order): stock_item = line.item + # Remove any allocations against the returned StockItem + stock_item.clearAllocations() + deltas = { 'status': StockStatus.QUARANTINED, 'returnorder': self.pk,