mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 04:25:42 +00:00
Remove references to old setting (#8018)
* Remove references to old setting - Now offloaded to plugins * Remove REPORT_ENABLE_TEST_REPORT setting * Cleanup * Add new boolean setting to control whether reports are attached automatically * Attach generated report to model instance * Update unit testing * Bump API version
This commit is contained in:
@ -21,6 +21,12 @@ export default function ReportTemplateTable() {
|
||||
modelRenderer: (instance: any) => (
|
||||
<YesNoButton value={instance.landscape} />
|
||||
)
|
||||
},
|
||||
attach_to_model: {
|
||||
label: t`Attach to Model`,
|
||||
modelRenderer: (instance: any) => (
|
||||
<YesNoButton value={instance.attach_to_model} />
|
||||
)
|
||||
}
|
||||
}
|
||||
}}
|
||||
|
@ -161,9 +161,7 @@ export default function SystemSettings() {
|
||||
'REPORT_ENABLE',
|
||||
'REPORT_DEFAULT_PAGE_SIZE',
|
||||
'REPORT_DEBUG_MODE',
|
||||
'REPORT_LOG_ERRORS',
|
||||
'REPORT_ENABLE_TEST_REPORT',
|
||||
'REPORT_ATTACH_TEST_REPORT'
|
||||
'REPORT_LOG_ERRORS'
|
||||
]}
|
||||
/>
|
||||
)
|
||||
|
Reference in New Issue
Block a user