Add settings for backups (#3806)

Fixes #3794
This commit is contained in:
Matthias Mair authored and GitHub committed 2022-10-18 12:38:57 +11:00
1 parent 3bd64e9098
commit 3956a45c48
3 files changed
+13 -2

No files matched your search

+7
View File
@@ -886,6 +886,13 @@ class InvenTreeSetting(BaseInvenTreeSetting):
]
},
'INVENTREE_BACKUP_ENABLE': {
'name': _('Automatic Backup'),
'description': _('Enable automatic backup of database and media files'),
'validator': bool,
'default': True,
},
'BARCODE_ENABLE': {
'name': _('Barcode Support'),
'description': _('Enable barcode scanner support'),