mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-07 19:01:17 +00:00
Add some more search terms to the admin interface
This commit is contained in:
1 parent
1f6cbd7408
commit
0e5f10c020
4 files changed
+37
No files matched your search
@@ -23,6 +23,12 @@ class PurchaseOrderAdmin(ImportExportModelAdmin):
|
||||
'creation_date'
|
||||
)
|
||||
|
||||
search_fields = [
|
||||
'reference',
|
||||
'supplier__name',
|
||||
'description',
|
||||
]
|
||||
|
||||
|
||||
class SalesOrderAdmin(ImportExportModelAdmin):
|
||||
|
||||
@@ -34,6 +40,12 @@ class SalesOrderAdmin(ImportExportModelAdmin):
|
||||
'creation_date',
|
||||
)
|
||||
|
||||
search_fields = [
|
||||
'reference',
|
||||
'customer__name',
|
||||
'description',
|
||||
]
|
||||
|
||||
|
||||
class POLineItemResource(ModelResource):
|
||||
""" Class for managing import / export of POLineItem data """
|
||||
|
||||
Reference in new issue
Block a user