workflows: adapt check_condition method signature in jump action (#56507)

This commit is contained in:
Frédéric Péters 2021-08-31 10:48:31 +02:00
parent 97afa136d0
commit 80660e37d9
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ class JumpWorkflowStatusItem(WorkflowStatusJumpItem):
self.handle_markers_stack(formdata)
formdata.status = 'wf-%s' % wf_status[0].id
def check_condition(self, formdata):
def check_condition(self, formdata, *args, **kwargs):
# ship condition check here so it is not evaluated twice.
return True