mirror of
https://github.com/inventree/InvenTree.git
synced 2025-09-24 11:30:19 +00:00
Started work on cross-referencing
- part admin now shows total quantity in stock - part model can return a list of projects it is associated with
This commit is contained in:
@@ -4,7 +4,7 @@ from .models import PartCategory, Part
|
||||
|
||||
class PartAdmin(admin.ModelAdmin):
|
||||
|
||||
list_display = ('name', 'IPN', 'category')
|
||||
list_display = ('name', 'IPN', 'quantity', 'category')
|
||||
|
||||
# Custom form for PartCategory
|
||||
class PartCategoryAdmin(admin.ModelAdmin):
|
||||
|
Reference in New Issue
Block a user