2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-03 04:00:57 +00:00

PEP fixes

This commit is contained in:
Oliver Walters
2020-04-22 13:21:45 +10:00
parent 1373425c29
commit d9698b10cc
5 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ from InvenTree.models import InvenTreeTree
from InvenTree.fields import InvenTreeURLField
from part.models import Part
from order.models import PurchaseOrder, SalesOrder, SalesOrderAllocation
from order.models import PurchaseOrder, SalesOrder
class StockLocation(InvenTreeTree):
@ -426,7 +426,6 @@ class StockItem(MPTTModel):
return self.build_allocation_count() + self.sales_order_allocation_count()
def can_delete(self):
""" Can this stock item be deleted? It can NOT be deleted under the following circumstances: