more hompage settings

This commit is contained in:
matmair committed 2021-07-23 01:07:28 +02:00
1 parent e167f27258
commit 46b0db8263
3 files changed
+33 -11

No files matched your search

+12
View File
@@ -773,6 +773,18 @@ class InvenTreeUserSetting(BaseInvenTreeSetting):
'default': True,
'validator': bool,
},
'HOMEPAGE_PART_LATEST': {
'name': _('Show latest parts'),
'description': _('Show latest parts on the homepage'),
'default': True,
'validator': bool,
},
'HOMEPAGE_BOM_VALIDATION': {
'name': _('Show starunvalidated BOMs'),
'description': _('Show BOMs that await validation on the homepage'),
'default': True,
'validator': bool,
},
}
class Meta: