2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 03:25:42 +00:00

Added setting, checkbox (PartCreateView only) and hook to create part parameters from category templates

This commit is contained in:
eeintech
2020-11-02 13:14:31 -05:00
parent 978b5f869d
commit 34b784d1e4
4 changed files with 32 additions and 0 deletions

View File

@ -85,6 +85,13 @@ class InvenTreeSetting(models.Model):
'validator': bool
},
'PART_CATEGORY_PARAMETERS': {
'name': _('Create Parameters From Category Templates'),
'description': _('Automatically create part parameters from category templates'),
'default': False,
'validator': bool
},
'BUILDORDER_REFERENCE_PREFIX': {
'name': _('Build Order Reference Prefix'),
'description': _('Prefix value for build order reference'),