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

Add PART_VIRTUAL setting

This commit is contained in:
Oliver Walters
2021-01-03 23:13:58 +11:00
parent 0aeeba808c
commit b05504e1c4
6 changed files with 35 additions and 3 deletions

View File

@ -153,6 +153,13 @@ class InvenTreeSetting(models.Model):
'validator': bool,
},
'PART_VIRTUAL': {
'name': _('Virtual'),
'description': _('Parts are virtual by default'),
'default': False,
'validator': bool,
},
'BUILDORDER_REFERENCE_PREFIX': {
'name': _('Build Order Reference Prefix'),
'description': _('Prefix value for build order reference'),