2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 11:05:41 +00:00

Add parameters to template

This commit is contained in:
Oliver
2021-07-21 22:14:03 +10:00
parent afde997cf9
commit 964672d6cc

View File

@ -296,7 +296,9 @@ class StockItemLabel(LabelTemplate):
'uid': stock_item.uid,
'qr_data': stock_item.format_barcode(brief=True),
'qr_url': stock_item.format_barcode(url=True, request=request),
'tests': stock_item.testResultMap()
'tests': stock_item.testResultMap(),
'parameters': stock_item.part.parameters_map(),
}