From 0c05d1f7e1215241418a721a30f10d29a851f959 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 4 Mar 2010 10:59:07 +0100 Subject: [PATCH] =?utf8?q?Ein-/Auslagerinformationen=20bei=20"Als=20neu=20?= =?utf8?q?speichern"=20l=C3=B6schen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix für Bug 1286. --- bin/mozilla/do.pl | 1 + 1 file changed, 1 insertion(+) 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. -- 2.20.1