@@ -, +, @@ 1 - Enable StockRotation system preference 2 - Browse to Tools->Stock rotation->New Rota and create a new rota, set as cyclical 3 - Manage->stages and add two stages, each with 0 day duration 4 - Manage->items - add an item 5 - Checkout the item from the first branch of rotation 6 - Tools->Stock rotation->Manage->items->move to next stage 7 - Error: [Transfer item is currently checked out] at /usr/share/perl5/Exception/Class/Base.pm line 88 8 - Check in the item at first branch 9 - Checkout the item from the second stage branch --- Koha/StockRotationItem.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/Koha/StockRotationItem.pm +++ a/Koha/StockRotationItem.pm @@ -272,7 +272,9 @@ sub advance { } }; $transfer->receive - if $item->holdingbranch eq $new_stage->branchcode_id; # Already at branch + if $item->holdingbranch eq $new_stage->branchcode_id && !$item->checkout; + # If item is already at branch, and not checked out + # If item is checked out, the return will either receive or initiate the transfer return $transfer; } --