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:
7
tasks.py
7
tasks.py
@ -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')
|
||||
|
Reference in New Issue
Block a user