mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-22 07:55:07 +00:00
PEP fixes
This commit is contained in:
1 parent
e768ada83b
commit
3c5ba75d27
4 files changed
+13
-18
No files matched your search
@@ -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