2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-05 21:20:56 +00:00

Allow non-integer stock movement

This commit is contained in:
Oliver Walters
2019-11-19 10:17:20 +11:00
parent e4bfe43c04
commit 9da8189899
5 changed files with 53 additions and 6 deletions

View File

@ -546,7 +546,7 @@ class StockAdjust(AjaxView, FormMixin):
if destination == item.location and item.new_quantity == item.quantity:
continue
item.move(destination, note, self.request.user, quantity=int(item.new_quantity))
item.move(destination, note, self.request.user, quantity=item.new_quantity)
count += 1