From 2a64e4a309830d6aa3bebb1a78442fb5199e1a68 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 27 May 2021 13:23:20 +1000 Subject: [PATCH] Bug fix for template --- InvenTree/stock/templates/stock/item_base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/stock/templates/stock/item_base.html b/InvenTree/stock/templates/stock/item_base.html index 991bdee41c..fa91177bf6 100644 --- a/InvenTree/stock/templates/stock/item_base.html +++ b/InvenTree/stock/templates/stock/item_base.html @@ -551,7 +551,7 @@ $("#stock-assign-to-customer").click(function() { ); }); -{% if item.part.has_variants %} +{% if item.part.can_convert %} $("#stock-convert").click(function() { launchModalForm("{% url 'stock-item-convert' item.id %}", {