Add setting to disable IPN editing after part is created (web only)

This commit is contained in:
eeintech committed 2021-03-12 10:30:31 -05:00
1 parent ed028aed62
commit b152f7041b
3 files changed
+14

No files matched your search

+7
View File
@@ -97,6 +97,13 @@ class InvenTreeSetting(models.Model):
'validator': bool,
},
'PART_ALLOW_EDIT_IPN': {
'name': _('Allow Editing IPN'),
'description': _('Allow changing the IPN value while editing a part'),
'default': True,
'validator': bool,
},
'PART_COPY_BOM': {
'name': _('Copy Part BOM Data'),
'description': _('Copy BOM data by default when duplicating a part'),