]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/Inventory.pm
Einträge in employee aus User->login heraus aktualisieren
[mfinanz.git] / SL / Controller / Inventory.pm
index 10f01f8e7c75def0ccd783db5f2b55de10fb2e34..2a5b8de4ac58ee40be7f98b6a7e0647909651741 100644 (file)
@@ -58,6 +58,7 @@ sub action_stock {
   });
 
   if ($::form->{write_default_bin}) {
+    $self->part->load;   # onhand is calculated in between. don't mess that up
     $self->part->bin($self->bin);
     $self->part->warehouse($self->warehouse);
     $self->part->save;