2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 18:45:40 +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:
Oliver
2024-09-06 15:15:16 +10:00
committed by GitHub
parent 9f92475af0
commit 07fac28b76
14 changed files with 86 additions and 36 deletions

View File

@ -1184,7 +1184,7 @@ def frontend_build(c):
@task
def frontend_dev(c):
def frontend_server(c):
"""Start frontend development server.
Args:
@ -1447,7 +1447,7 @@ def clear_generated(c):
development = Collection(
delete_data,
docs_server,
frontend_dev,
frontend_server,
gunicorn,
import_fixtures,
schema,
@ -1458,6 +1458,7 @@ development = Collection(
test_translations,
translate,
)
internal = Collection(
clean_settings,
clear_generated,
@ -1474,6 +1475,7 @@ internal = Collection(
translate_stats,
worker,
)
ns = Collection(
backup,
export_records,
@ -1490,5 +1492,6 @@ ns = Collection(
version,
wait,
)
ns.add_collection(development, 'dev')
ns.add_collection(internal, 'int')