View | Details | Raw Unified | Return to bug 29808
Collapse All | Expand All

(-)a/Koha/StockRotationItem.pm (-2 / +3 lines)
Lines 272-278 sub advance { Link Here
272
        }
272
        }
273
    };
273
    };
274
    $transfer->receive
274
    $transfer->receive
275
      if $item->holdingbranch eq $new_stage->branchcode_id;  # Already at branch
275
      if $item->holdingbranch eq $new_stage->branchcode_id && !$item->checkout;
276
      # If item is already at branch, and not checked out
277
      # If item is checked out, the return will either receive or initiate the transfer
276
278
277
    return $transfer;
279
    return $transfer;
278
}
280
}
279
- 

Return to bug 29808