diff --git a/InvenTree/company/admin.py b/InvenTree/company/admin.py index 2ebd63acc9..2c3be87c84 100644 --- a/InvenTree/company/admin.py +++ b/InvenTree/company/admin.py @@ -101,6 +101,14 @@ class ManufacturerPartParameterInline(admin.TabularInline): model = ManufacturerPartParameter +class SupplierPartInline(admin.TabularInline): + """ + Inline for the SupplierPart model + """ + + model = SupplierPart + + class ManufacturerPartAdmin(ImportExportModelAdmin): """ Admin class for ManufacturerPart model @@ -117,7 +125,8 @@ class ManufacturerPartAdmin(ImportExportModelAdmin): ] inlines = [ - ManufacturerPartParameterInline + SupplierPartInline, + ManufacturerPartParameterInline, ]