option to hide related parts #1733

This commit is contained in:
matmair committed 2021-06-29 12:33:54 +02:00
1 parent 4eef3c99bc
commit d10169932d
3 files changed
+11

No files matched your search

+7
View File
@@ -219,6 +219,13 @@ class InvenTreeSetting(models.Model):
'validator': bool,
},
'PART_SHOW_RELATED': {
'name': _('Show related parts'),
'description': _('Display related parts for a part'),
'default': True,
'validator': bool,
},
'PART_INTERNAL_PRICE': {
'name': _('Internal Prices'),
'description': _('Enable internal prices for parts'),