mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 10:21:18 +00:00
Add some more part options which set the default values for the following fields:
- Purchaseable - Salable - Trackable
This commit is contained in:
1 parent
826c471179
commit
8149759852
2 files changed
+26
No files matched your search
@@ -85,6 +85,27 @@ class InvenTreeSetting(models.Model):
|
||||
'validator': bool
|
||||
},
|
||||
|
||||
'PART_PURCHASEABLE': {
|
||||
'name': _('Purchaseable'),
|
||||
'description': _('Parts are purchaseable by default'),
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'PART_SALABLE': {
|
||||
'name': _('Salable'),
|
||||
'description': _('Parts are salable by default'),
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'PART_TRACKABLE': {
|
||||
'name': _('Trackable'),
|
||||
'description': _('Parts are trackable by default'),
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'BUILDORDER_REFERENCE_PREFIX': {
|
||||
'name': _('Build Order Reference Prefix'),
|
||||
'description': _('Prefix value for build order reference'),
|
||||
|
||||
Reference in new issue
Block a user