mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 20:45:44 +00:00
PEP fixes
This commit is contained in:
@ -324,6 +324,9 @@ class SalesOrder(Order):
|
||||
for allocation in line.allocations.all():
|
||||
allocation.complete_allocation(user)
|
||||
|
||||
# TODO - Remove the allocation from the database
|
||||
# allocation.delete()
|
||||
|
||||
# Ensure the order status is marked as "Shipped"
|
||||
self.status = SalesOrderStatus.SHIPPED
|
||||
self.shipment_date = datetime.now().date()
|
||||
|
Reference in New Issue
Block a user