From: Jan Büren Date: Wed, 11 Mar 2015 13:09:34 +0000 (+0100) Subject: Fehlerbehandlung (transfer inventory bei invoice) eindeutig machen X-Git-Tag: release-3.2.1~32 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=eabc3f080524efe84b13e1f0561a34fe194b74b0;p=kivitendo-erp.git Fehlerbehandlung (transfer inventory bei invoice) eindeutig machen --- diff --git a/SL/IS.pm b/SL/IS.pm index 30570c059..cb7f21371 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -1316,7 +1316,6 @@ sub transfer_out { $form->{"id_$i"}, $form->{"qty_$i"}, $form->{"unit_$i"}); - next if ($err eq 'ignore service'); if (!@{ $err } && $wh_id && $bin_id) { push @transfers, { 'parts_id' => $form->{"id_$i"}, @@ -1353,7 +1352,7 @@ sub _determine_wh_and_bin { # ignore service if they are not configured to be transfered if ($part->is_service && !$conf->get_transfer_default_services) { $::lxdebug->leave_sub(2); - return 'ignore service'; + return (\@errors); } # test negative qty