mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 10:21:18 +00:00
Add 'REPORT_DEBUG_MODE' setting
- If set, reports are printed in raw HTML - Not pretty, but useful for debugging output of rendered template
This commit is contained in:
1 parent
dbaa0fc300
commit
30d95e1511
5 files changed
+79
-24
No files matched your search
@@ -174,6 +174,13 @@ class InvenTreeSetting(models.Model):
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'REPORT_DEBUG_MODE': {
|
||||
'name': _('Debug Mode'),
|
||||
'description': _('Generate reports in debug mode (HTML output)'),
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'REPORT_DEFAULT_PAGE_SIZE': {
|
||||
'name': _('Page Size'),
|
||||
'description': _('Default page size for PDF reports'),
|
||||
|
||||
Reference in new issue
Block a user