mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-03 12:10:59 +00:00
Serial number autofill (#4091)
* Add global setting to control seiral number auto-fill * Auto fill serial number field
This commit is contained in:
@ -1215,6 +1215,13 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'SERIAL_NUMBER_AUTOFILL': {
|
||||
'name': _('Autofill Serial Numbers'),
|
||||
'description': _('Autofill serial numbers in forms'),
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'STOCK_BATCH_CODE_TEMPLATE': {
|
||||
'name': _('Batch Code Template'),
|
||||
'description': _('Template for generating default batch codes for stock items'),
|
||||
|
Reference in New Issue
Block a user