2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-24 03:20:17 +00:00

Add a 'full_name' field for Part

- Combines IPN | Name | Variant
- Use this to display in most views
This commit is contained in:
Oliver Walters
2019-05-12 12:16:04 +10:00
parent 08d743a735
commit 1d36ea3e2e
35 changed files with 81 additions and 78 deletions

View File

@@ -9,7 +9,7 @@ from .models import BomItem
class PartAdmin(ImportExportModelAdmin):
list_display = ('long_name', 'IPN', 'description', 'total_stock', 'category')
list_display = ('full_name', 'description', 'total_stock', 'category')
class PartCategoryAdmin(ImportExportModelAdmin):