mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-03 20:20:58 +00:00
Location barcode actions (#3887)
* Reorder action buttons for stock location * Tweak position of "New Location" button * Tweak loaction of "New Category" button for part category page * Working on skeleton for new barcode dialog * Scan location into location * Add configurable input delay for processing barcode scan data
This commit is contained in:
@ -933,6 +933,17 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'BARCODE_INPUT_DELAY': {
|
||||
'name': _('Barcode Input Delay'),
|
||||
'description': _('Barcode input processing delay time'),
|
||||
'default': 50,
|
||||
'validator': [
|
||||
int,
|
||||
MinValueValidator(1),
|
||||
],
|
||||
'units': 'ms',
|
||||
},
|
||||
|
||||
'BARCODE_WEBCAM_SUPPORT': {
|
||||
'name': _('Barcode Webcam Support'),
|
||||
'description': _('Allow barcode scanning via webcam in browser'),
|
||||
|
Reference in New Issue
Block a user