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(),
}