mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 18:15:40 +00:00
Add "brief" version of QR codes
- Use this to render to labels (as it contains much less information)
This commit is contained in:
@ -142,7 +142,7 @@ class StockItemLabel(LabelTemplate):
|
||||
'serial': item.serial,
|
||||
'uid': item.uid,
|
||||
'pk': item.pk,
|
||||
'qr_data': item.format_short_barcode(),
|
||||
'qr_data': item.format_barcode(brief=True),
|
||||
'tests': item.testResultMap()
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user