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

Include status label text when exporting stocktake data

This commit is contained in:
Oliver Walters
2019-09-15 20:14:27 +10:00
parent 03043e67c7
commit 204cd967aa
4 changed files with 7 additions and 5 deletions

View File

@ -140,6 +140,11 @@ class StockItem(models.Model):
system=True
)
@property
def status_label(self):
return StockStatus.label(self.status)
@property
def serialized(self):
""" Return True if this StockItem is serialized """