2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-06 20:11:37 +00:00

Improve status code label rendering

This commit is contained in:
Oliver Walters
2020-04-26 15:29:21 +10:00
parent 0892b160c6
commit 4147163418
9 changed files with 122 additions and 53 deletions

View File

@@ -583,6 +583,6 @@ class SalesOrderAllocation(models.Model):
# Clear the location
item.location = None
item.status = StockStatus.SENT_TO_CUSTOMER
item.status = StockStatus.SHIPPED
item.save()

View File

@@ -152,6 +152,7 @@ class SalesOrderSerializer(InvenTreeModelSerializer):
'customer_reference',
'status',
'status_text',
'shipment_date',
'notes',
]