From e77aeec2ce7ac154d2bc39ffbe2a99e22c5c11e8 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 20 Aug 2019 18:04:22 +1000 Subject: [PATCH] Change to ImportExport model admin --- InvenTree/part/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/part/admin.py b/InvenTree/part/admin.py index 4de8278bec..e7489c9810 100644 --- a/InvenTree/part/admin.py +++ b/InvenTree/part/admin.py @@ -31,11 +31,11 @@ class BomItemAdmin(ImportExportModelAdmin): list_display = ('part', 'sub_part', 'quantity') -class ParameterTemplateAdmin(admin.ModelAdmin): +class ParameterTemplateAdmin(ImportExportModelAdmin): list_display = ('name', 'units') -class ParameterAdmin(admin.ModelAdmin): +class ParameterAdmin(ImportExportModelAdmin): list_display = ('part', 'template', 'data')