OE->save() parst verschiedene Zahlen. Das ist beim Umwandeln in anderen Formulartypen...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 11 Jan 2007 14:58:10 +0000 (14:58 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 11 Jan 2007 14:58:10 +0000 (14:58 +0000)
bin/mozilla/oe.pl

index 2537eaf..89cb39c 100644 (file)
@@ -2438,9 +2438,7 @@ sub purchase_order {
 
   if (   $form->{type} eq 'sales_quotation'
       || $form->{type} eq 'request_quotation') {
-    $form->{closed} = 1;
-    relink_accounts();
-    OE->save(\%myconfig, \%$form);
+    OE->close_order(\%myconfig, \%$form);
   }
 
   $form->{cp_id} *= 1;