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

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

Return to bug 35100