mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	Adds inline for SupplierPart
This commit is contained in:
		| @@ -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, | ||||
|     ] | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user