diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index ced66b2166..813d0d8ad4 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -57,7 +57,6 @@ INSTALLED_APPS = [ # Third part add-ons 'django_filters', 'rest_framework', - 'simple_history', 'crispy_forms', 'import_export', 'django_cleanup', @@ -72,7 +71,6 @@ MIDDLEWARE = [ 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', - 'simple_history.middleware.HistoryRequestMiddleware', 'InvenTree.middleware.AuthRequiredMiddleware' ] diff --git a/InvenTree/part/admin.py b/InvenTree/part/admin.py index 610feb9744..4e63bf65e0 100644 --- a/InvenTree/part/admin.py +++ b/InvenTree/part/admin.py @@ -12,7 +12,7 @@ class PartAdmin(ImportExportModelAdmin): list_display = ('name', 'IPN', 'description', 'total_stock', 'category') -class PartCategoryAdmin(admin.ModelAdmin): +class PartCategoryAdmin(ImportExportModelAdmin): list_display = ('name', 'pathstring', 'description') diff --git a/InvenTree/static/script/inventree/bom.js b/InvenTree/static/script/inventree/bom.js index 273fb1c8fa..7e8fec103c 100644 --- a/InvenTree/static/script/inventree/bom.js +++ b/InvenTree/static/script/inventree/bom.js @@ -21,7 +21,10 @@ function downloadBom(options = {}) {