2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-24 11:30:19 +00:00

Improved part logic

- Added field 'buildable' - can this part be made from other parts?
- Added @propery 'supplier_count'
- Improved part detail page with new features
This commit is contained in:
Oliver
2018-04-16 22:13:31 +10:00
parent e43439ef5b
commit 118d045e50
7 changed files with 61 additions and 16 deletions

View File

@@ -8,7 +8,7 @@ from .models import PartAttachment
class PartAdmin(ImportExportModelAdmin):
list_display = ('name', 'IPN', 'description', 'stock', 'category')
list_display = ('name', 'IPN', 'description', 'total_stock', 'category')
class PartCategoryAdmin(admin.ModelAdmin):