Inventory/stock: qty muss geparst werden, nicht formatiert.
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 18 Oct 2013 08:45:34 +0000 (10:45 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 18 Oct 2013 08:45:34 +0000 (10:45 +0200)
behebt #2381

SL/Controller/Inventory.pm

index f3f2938..3f406ee 100644 (file)
@@ -49,7 +49,7 @@ sub action_stock {
     parts         => $self->part,
     dst_bin       => $self->bin,
     dst_wh        => $self->warehouse,
-    qty           => $::form->format_amount(\%::myconfig, $::form->{qty}),
+    qty           => $::form->parse_amount(\%::myconfig, $::form->{qty}),
     unit          => $self->unit,
     transfer_type => 'stock',
     chargenumber  => $::form->{chargenumber},