From 09400fd66b7f84049bfad99f02eb428c761a8164 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 9 Jun 2020 13:30:34 +1000 Subject: [PATCH] Decimalize display of variant stock (cherry picked from commit 6e45360c4b7a6bc91f584f498fb6e1988593db95) --- InvenTree/part/templates/part/variants.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/InvenTree/part/templates/part/variants.html b/InvenTree/part/templates/part/variants.html index 725a7ba9b4..00aa786da9 100644 --- a/InvenTree/part/templates/part/variants.html +++ b/InvenTree/part/templates/part/variants.html @@ -1,5 +1,6 @@ {% extends "part/part_base.html" %} {% load static %} +{% load inventree_extras %} {% block details %} {% include "part/tabs.html" with tab='variants' %} @@ -40,7 +41,7 @@ {% endif %} {{ variant.description }} - {{ variant.total_stock }} + {% decimal variant.total_stock %} {% endfor %}