mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-20 23:15:10 +00:00
[UI] Barcode form inputs (#10973)
* Add barcode buttons to related fields - Only field types which support barcodes * Add per-user settings for barcode support * Fill form field with scanned data * Updated docs * Fix duplicate setting * Add playwright tests * Fix duplicate setting in docs * Fix broken link * Fix memo deps * Fix typo * Remove setting * Updated playwright tests * Improved typing
This commit is contained in:
1 parent
f4186e73ff
commit
ae70c22485
16 files changed
+309
-108
No files matched your search
@@ -41,6 +41,12 @@ USER_SETTINGS: dict[str, InvenTreeSettingsKeyType] = {
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
},
|
||||
'BARCODE_IN_FORM_FIELDS': {
|
||||
'name': _('Barcode Scanner in Form Fields'),
|
||||
'description': _('Allow barcode scanner input in form fields'),
|
||||
'default': True,
|
||||
'validator': bool,
|
||||
},
|
||||
'SEARCH_PREVIEW_SHOW_PARTS': {
|
||||
'name': _('Search Parts'),
|
||||
'description': _('Display parts in search preview window'),
|
||||
|
||||
Reference in new issue
Block a user