diff --git a/InvenTree/part/templatetags/inventree_extras.py b/InvenTree/part/templatetags/inventree_extras.py index e867441b42..a7887ec250 100644 --- a/InvenTree/part/templatetags/inventree_extras.py +++ b/InvenTree/part/templatetags/inventree_extras.py @@ -69,6 +69,12 @@ def add(x, y, *args, **kwargs): return x + y +@register.simple_tag() +def to_list(*args): + """ Return the input arguments as list """ + return args + + @register.simple_tag() def part_allocation_count(build, part, *args, **kwargs): """ Return the total number of allocated to """