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

(-)a/Koha/Item.pm (-2 / +1 lines)
Lines 761-767 sub request_transfer { Link Here
761
      if ( $request && !$params->{enqueue} && !$params->{replace} );
761
      if ( $request && !$params->{enqueue} && !$params->{replace} );
762
762
763
    $request->cancel( { reason => $params->{reason}, force => 1 } )
763
    $request->cancel( { reason => $params->{reason}, force => 1 } )
764
      if ( defined($request) && $params->{replace} );
764
        if ( defined($request) && $params->{replace} && ( $request->reason ne 'StockrotationAdvance' ) );
765
765
766
    my $transfer = Koha::Item::Transfer->new(
766
    my $transfer = Koha::Item::Transfer->new(
767
        {
767
        {
768
- 

Return to bug 35100