2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-03 12:10:59 +00:00

Enable build order search in quick-search window (#3856)

* Add user setting to enable search preview for build orders

* Add search results entry
This commit is contained in:
Oliver
2022-10-26 09:57:30 +11:00
committed by GitHub
parent fe56a046cc
commit 13ef7d6910
3 changed files with 24 additions and 0 deletions

View File

@ -1612,6 +1612,13 @@ class InvenTreeUserSetting(BaseInvenTreeSetting):
'validator': bool,
},
'SEARCH_PREVIEW_SHOW_BUILD_ORDERS': {
'name': _('Search Build Orders'),
'description': _('Display build orders in search preview window'),
'default': True,
'validator': bool,
},
'SEARCH_PREVIEW_SHOW_PURCHASE_ORDERS': {
'name': _('Search Purchase Orders'),
'description': _('Display purchase orders in search preview window'),