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:
babd96d
)
Beim Umwandeln von Lieferantenauftrag in Kundenauftrag und umgekehrt die Auftragsnumm...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 10 Apr 2007 09:58:48 +0000
(09:58 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 10 Apr 2007 09:58:48 +0000
(09:58 +0000)
bin/mozilla/oe.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/oe.pl
b/bin/mozilla/oe.pl
index
8a38efe
..
173ad77
100644
(file)
--- a/
bin/mozilla/oe.pl
+++ b/
bin/mozilla/oe.pl
@@
-2476,6
+2476,10
@@
sub purchase_order {
OE->close_order(\%myconfig, \%$form);
}
+ if ($form->{type} =~ /^sales_/) {
+ delete($form->{ordnumber});
+ }
+
$form->{cp_id} *= 1;
$form->{title} = $locale->text('Add Purchase Order');
@@
-2495,6
+2499,10
@@
sub sales_order {
OE->close_order(\%myconfig, $form);
}
+ if ($form->{type} eq "purchase_order") {
+ delete($form->{ordnumber});
+ }
+
$form->{cp_id} *= 1;
$form->{title} = $locale->text('Add Sales Order');