2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 12:05:53 +00:00

Reintroduce setting for project codes (#8920)

* Re-introducde old setting

* Optionally hide project code column

* Control visibility of table filters

* Hide fields from forms
This commit is contained in:
Oliver
2025-01-20 23:29:20 +11:00
committed by GitHub
parent 37c8418f0e
commit 87ccf52562
8 changed files with 58 additions and 5 deletions

View File

@ -1003,6 +1003,12 @@ SYSTEM_SETTINGS: dict[str, InvenTreeSettingsKeyType] = {
'validator': bool,
'after_save': reload_plugin_registry,
},
'PROJECT_CODES_ENABLED': {
'name': _('Enable project codes'),
'description': _('Enable project codes for tracking projects'),
'default': False,
'validator': bool,
},
'STOCKTAKE_ENABLE': {
'name': _('Stocktake Functionality'),
'description': _(