mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Do not auto-complete salesorder when shipment is done
- User might want to add more line items?
This commit is contained in:
parent
732034d9e5
commit
3c3dd9368d
@ -1029,11 +1029,6 @@ class SalesOrderShipment(models.Model):
|
||||
|
||||
self.save()
|
||||
|
||||
# Finally, check if the order is fully shipped
|
||||
if self.order.is_completed():
|
||||
self.order.status = SalesOrderStatus.SHIPPED
|
||||
self.order.save()
|
||||
|
||||
|
||||
class SalesOrderAllocation(models.Model):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user