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:
@ -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'),
|
||||
|
Reference in New Issue
Block a user