mirror of
https://github.com/inventree/InvenTree.git
synced 2025-11-04 23:25:42 +00:00
Unit test fixes
This commit is contained in:
@@ -1305,7 +1305,6 @@ class StockItem(MPTTModel):
|
||||
|
||||
self.quantity = quantity
|
||||
|
||||
|
||||
if quantity == 0 and self.delete_on_deplete and self.can_delete():
|
||||
self.mark_for_deletion()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user