From 7b68bac32f9c297df5973987a79816b3ac6a457d Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 13 Apr 2019 01:14:24 +1000 Subject: [PATCH] Display UUID and QR code on stockitem page - The actual display of this can be improved upon at a later stage --- InvenTree/stock/templates/stock/item.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/InvenTree/stock/templates/stock/item.html b/InvenTree/stock/templates/stock/item.html index b00b77ecac..7f6673621c 100644 --- a/InvenTree/stock/templates/stock/item.html +++ b/InvenTree/stock/templates/stock/item.html @@ -2,6 +2,8 @@ {% load static %} {% block content %} +{% load qr_code %} +

Stock Item Details

@@ -29,11 +31,17 @@
+{% qr_from_text item.uuid size="s" image_format="png" error_correction="L" %} + + + + + {% if item.belongs_to %}
Part {{ item.part.name }}
UUID{{ item.uuid }}
Belongs To