Improve visualisation of global settings

This commit is contained in:
Oliver Walters committed 2021-01-03 22:57:39 +11:00
1 parent bdc3a9ef02
commit 9fa37a9156
9 files changed
+54 -16

No files matched your search

+15 -1
View File
@@ -110,7 +110,21 @@ class InvenTreeSetting(models.Model):
'default': True,
'validator': bool
},
'PART_TEMPLATE': {
'name': _('Template'),
'description': _('Parts are templates by default'),
'default': False,
'validator': bool,
},
'PART_ASSEMBLY': {
'name': _('Assembly'),
'description': _('Parts can be assembled from other components by default'),
'default': False,
'validator': bool,
},
'PART_COMPONENT': {
'name': _('Component'),
'description': _('Parts can be used as sub-components by default'),