mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-03 17:05:18 +00:00
Unit test fixes
This commit is contained in:
1 parent
918106c225
commit
5ab4be7025
3 files changed
+15
-4
No files matched your search
@@ -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