mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Include more part data in export
This commit is contained in:
parent
dda4569f76
commit
ab0da6aaae
@ -1175,6 +1175,7 @@ class PartExport(AjaxView):
|
||||
continue
|
||||
|
||||
headers = [
|
||||
'ID',
|
||||
'Name',
|
||||
'Description',
|
||||
'Category',
|
||||
@ -1182,9 +1183,11 @@ class PartExport(AjaxView):
|
||||
'IPN',
|
||||
'Revision',
|
||||
'URL',
|
||||
'Keywords',
|
||||
'Notes',
|
||||
'Assembly',
|
||||
'Component',
|
||||
'Template',
|
||||
'Trackable',
|
||||
'Salable',
|
||||
'Active',
|
||||
@ -1213,6 +1216,7 @@ class PartExport(AjaxView):
|
||||
for part in parts:
|
||||
line = []
|
||||
|
||||
line.append(part.ID)
|
||||
line.append(part.name)
|
||||
line.append(part.description)
|
||||
line.append(str(part.category))
|
||||
@ -1220,9 +1224,11 @@ class PartExport(AjaxView):
|
||||
line.append(part.IPN)
|
||||
line.append(part.revision)
|
||||
line.append(part.URL)
|
||||
line.append(part.keywords)
|
||||
line.append(part.notes)
|
||||
line.append(part.assembly)
|
||||
line.append(part.component)
|
||||
line.append(part.template)
|
||||
line.append(part.trackable)
|
||||
line.append(part.salable)
|
||||
line.append(part.active)
|
||||
|
Loading…
Reference in New Issue
Block a user