2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 20:15:44 +00:00

Settings to show import-button

This commit is contained in:
2021-05-26 09:20:50 +02:00
parent 3c5bb048a1
commit 4319ba16af
3 changed files with 31 additions and 1 deletions

View File

@ -211,6 +211,13 @@ class InvenTreeSetting(models.Model):
'validator': bool,
},
'PART_SHOW_IMPORT': {
'name': _('Show Import in Views'),
'description': _('Display the import wizard in some part views'),
'default': False,
'validator': bool,
},
'REPORT_DEBUG_MODE': {
'name': _('Debug Mode'),
'description': _('Generate reports in debug mode (HTML output)'),