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:
Oliver authored and GitHub committed 2024-09-06 15:15:16 +10:00
1 parent 9f92475af0
commit 07fac28b76
14 files changed
+86 -36

No files matched your search

@@ -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'
]}
/>
)