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

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

This commit is contained in:
eeintech
2021-03-12 10:30:31 -05:00
parent ed028aed62
commit b152f7041b
3 changed files with 14 additions and 0 deletions

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'),