mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
add search to API
This commit is contained in:
parent
acec4fa5d5
commit
3452880d2a
@ -174,6 +174,12 @@ class SalesOrderAdditionalLineItemAdmin(ImportExportModelAdmin):
|
||||
'reference'
|
||||
)
|
||||
|
||||
search_fields = [
|
||||
'order__reference',
|
||||
'order__customer__name',
|
||||
'reference',
|
||||
]
|
||||
|
||||
autocomplete_fields = ('order', )
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user