Merge pull request #1928 from erkutalakus/hotfix/unlocalization-of-item-quantity

Localization of item.quantity removed
This commit is contained in:
Oliver 2021-08-09 21:42:07 +10:00 committed by GitHub
commit 98211f1ae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
{% load static %} {% load static %}
{% load inventree_extras %} {% load inventree_extras %}
{% load i18n %} {% load i18n %}
{% load l10n %}
{% load markdownify %} {% load markdownify %}
{% block menubar %} {% block menubar %}
@ -152,7 +153,7 @@
{ {
stock_item: {{ item.pk }}, stock_item: {{ item.pk }},
part: {{ item.part.pk }}, part: {{ item.part.pk }},
quantity: {{ item.quantity }}, quantity: {{ item.quantity|unlocalize }},
} }
); );
@ -395,4 +396,4 @@
url: "{% url 'api-stock-tracking-list' %}", url: "{% url 'api-stock-tracking-list' %}",
}); });
{% endblock %} {% endblock %}