mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-09 11:46:26 +00:00
Fix task register (#3805)
* fix schedule registration * add collection step for tasks * make tasks register configurable * extend docs * Also run InvenTree setup in testing * fix import loading method * fix wrong task registration * do not test * do only distinct testing * ignore import error for coverage
This commit is contained in:
1 parent
3956a45c48
commit
269b269de3
5 files changed
+110
-58
No files matched your search
@@ -144,6 +144,7 @@ def notify_overdue_build_order(bo: build.models.Build):
|
||||
trigger_event(event_name, build_order=bo.pk)
|
||||
|
||||
|
||||
@InvenTree.tasks.scheduled_task(InvenTree.tasks.ScheduledTask.DAILY)
|
||||
def check_overdue_build_orders():
|
||||
"""Check if any outstanding BuildOrders have just become overdue
|
||||
|
||||
|
||||
Reference in new issue
Block a user