2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-09 07:00:56 +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

@ -66,6 +66,8 @@ class StockItemResource(ModelResource):
supplier_name = Field(attribute='supplier_part__supplier__name', readonly=True)
status_label = Field(attribute='status_label', readonly=True)
location = Field(attribute='location', widget=widgets.ForeignKeyWidget(StockLocation))
location_name = Field(attribute='location__name', readonly=True)