mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-23 10:17:03 +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:
1 parent
2f5e3efada
commit
2bbc65cc59
4 files changed
+37
-25
No files matched your search
@@ -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