PEP and unit testing fixes

This commit is contained in:
Oliver Walters
2020-04-25 23:24:00 +10:00
parent 77361bd0a2
commit 4f0efec39f
3 changed files with 10 additions and 3 deletions
-1
View File
@@ -433,7 +433,6 @@ class StockItem(MPTTModel):
return max(self.quantity - self.allocation_count(), 0)
def can_delete(self):
""" Can this stock item be deleted? It can NOT be deleted under the following circumstances: