projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b974593
)
Ein-/Auslagerinformationen bei "Als neu speichern" löschen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 4 Mar 2010 09:59:07 +0000
(10:59 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 4 Mar 2010 09:59:07 +0000
(10:59 +0100)
Fix für Bug 1286.
bin/mozilla/do.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/do.pl
b/bin/mozilla/do.pl
index
fa3be49
..
63ee667
100644
(file)
--- 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.