Add configurable setting for batch code generation

This commit is contained in:
Oliver Walters committed 2022-04-26 20:00:06 +10:00
1 parent 4c6c618af6
commit 3f92f009e4
2 files changed
+7

No files matched your search

+6
View File
@@ -932,6 +932,12 @@ class InvenTreeSetting(BaseInvenTreeSetting):
'validator': bool,
},
'STOCK_BATCH_CODE_TEMPLATE': {
'name': _('Batch Code Template'),
'description': _('Template for generating default batch codes for stock items'),
'default': '',
},
'STOCK_ENABLE_EXPIRY': {
'name': _('Stock Expiry'),
'description': _('Enable stock expiry functionality'),