]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/oe.pl
regression beim laden von positionen belegen -> qty auf 1 funktionierte nicht.
[kivitendo-erp.git] / bin / mozilla / oe.pl
index da09648ca04fcda1abf22d9e2c2c90bd030eacc3..fd019eedcfb3dc4a2754c58ca1f0085cd5f280a7 100644 (file)
@@ -558,7 +558,7 @@ sub update {
     $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{"$form->{vc}_discount"} * 100);
 
     if ($rows) {
-      $form->{"qty_$i"} = 1 unless ($form->{"qty_$i"});
+      $form->{"qty_$i"} = 1 unless ($form->parse_amount(\%myconfig, $form->{"qty_$i"}));
 
       if ($rows > 1) {