From ea2f5009c8386aceab69301a1b6deed07956ee73 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 27 Nov 2020 14:40:30 +1100 Subject: [PATCH] Vastly improved speed of BOM upload - Was calculating the stock levels for *every* part, for *every* drop down - Many many many calls were being made - Just remove stock count entirely from the drop-down menus --- InvenTree/part/templates/part/bom_upload/select_fields.html | 2 +- InvenTree/part/templates/part/bom_upload/select_parts.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/part/templates/part/bom_upload/select_fields.html b/InvenTree/part/templates/part/bom_upload/select_fields.html index bd0c222881..60f0efcfad 100644 --- a/InvenTree/part/templates/part/bom_upload/select_fields.html +++ b/InvenTree/part/templates/part/bom_upload/select_fields.html @@ -59,7 +59,7 @@ {% endfor %} {% if col.duplicate %} -

Duplicate column selection

+

{% trans "Duplicate column selection" %}

{% endif %} {% endfor %} diff --git a/InvenTree/part/templates/part/bom_upload/select_parts.html b/InvenTree/part/templates/part/bom_upload/select_parts.html index ede92c6c30..1ee5e8821b 100644 --- a/InvenTree/part/templates/part/bom_upload/select_parts.html +++ b/InvenTree/part/templates/part/bom_upload/select_parts.html @@ -63,7 +63,7 @@ {% for part in row.part_options %} {% endfor %}