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:
@ -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 """
|
||||
|
Reference in New Issue
Block a user