From: Moritz Bunkus Date: Thu, 4 Mar 2010 09:59:07 +0000 (+0100) Subject: Ein-/Auslagerinformationen bei "Als neu speichern" löschen X-Git-Tag: release-2.6.1beta1~33^2~10 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0c05d1f7e1215241418a721a30f10d29a851f959;p=kivitendo-erp.git Ein-/Auslagerinformationen bei "Als neu speichern" löschen Fix für Bug 1286. --- diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index fa3be49a2..63ee667fa 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -872,6 +872,7 @@ sub save_as_new { $form->{closed} = 0; $form->{delivered} = 0; map { delete $form->{$_} } qw(printed emailed queued); + delete @{ $form }{ grep { m/^stock_(?:in|out)_\d+/ } keys %{ $form } }; # Let Lx-Office assign a new order number if the user hasn't changed the # previous one. If it has been changed manually then use it as-is.