From 81f789d857e0222fb84e42c94bd0081f2d41af96 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 25 Apr 2020 23:26:56 +1000 Subject: [PATCH] Add link to parent build --- InvenTree/build/templates/build/build_base.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/InvenTree/build/templates/build/build_base.html b/InvenTree/build/templates/build/build_base.html index 20eb3b0672..9ea112911f 100644 --- a/InvenTree/build/templates/build/build_base.html +++ b/InvenTree/build/templates/build/build_base.html @@ -14,6 +14,11 @@ InvenTree | {% trans "Build" %} - {{ build }} {% trans "This build is allocated to Sales Order" %} {{ build.sales_order }} {% endif %} +{% if build.parent %} +
+ {% trans "This build is a child of Build" %} {{ build.parent }} +
+{% endif %} {% endblock %} {% block thumbnail %}