mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 11:40:58 +00:00
Optionally hide 'revision' field (#4493)
* Adds setting to enable / disable revision field * Optionally hide revision field from part forms * Hide revision informatoin on part page * Bug fix for part variant table - Use existing full_name variable rather than re-creating on the client side * Optionally hide 'revision' field in part tables
This commit is contained in:
@ -1071,6 +1071,13 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'PART_ENABLE_REVISION': {
|
||||
'name': _('Part Revisions'),
|
||||
'description': _('Enable revision field for Part'),
|
||||
'validator': bool,
|
||||
'default': True,
|
||||
},
|
||||
|
||||
'PART_IPN_REGEX': {
|
||||
'name': _('IPN Regex'),
|
||||
'description': _('Regular expression pattern for matching Part IPN')
|
||||
|
Reference in New Issue
Block a user