2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

more hompage settings

This commit is contained in:
2021-07-23 01:07:28 +02:00
parent e167f27258
commit 46b0db8263
3 changed files with 33 additions and 11 deletions

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: