From 9284837da82f74f7ad3bd0937b833984a3a12f60 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 25 Oct 2020 21:45:37 +1100 Subject: [PATCH] Bug fixing --- InvenTree/part/templatetags/inventree_extras.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/part/templatetags/inventree_extras.py b/InvenTree/part/templatetags/inventree_extras.py index 982f38f38f..37a5c3055d 100644 --- a/InvenTree/part/templatetags/inventree_extras.py +++ b/InvenTree/part/templatetags/inventree_extras.py @@ -6,7 +6,7 @@ import os from django import template from InvenTree import version, settings -import InvenTree.helpers +from InvenTree.helpers import decimal2string from common.models import InvenTreeSetting, ColorTheme @@ -17,7 +17,7 @@ register = template.Library() def decimal(x, *args, **kwargs): """ Simplified rendering of a decimal number """ - return InvenTree.helpers.decimal2string(x) + return decimal2string(x) @register.simple_tag()