Move task registration to the CeleryQueue class
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -8,6 +8,6 @@ queue_document_states = CeleryQueue(
|
||||
name='document_states', label=_('Document states')
|
||||
)
|
||||
queue_document_states.add_task_type(
|
||||
name='mayan.apps.document_states.tasks.task_launch_all_workflows',
|
||||
dotted_path='mayan.apps.document_states.tasks.task_launch_all_workflows',
|
||||
label=_('Launch all workflows')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user