fix: workflow action creation is not skipped

Workflow action creation check is not properly executed due to incorrect field name used in validation.
This commit is contained in:
Govind S Menokee 2019-07-16 16:34:59 +05:30 committed by GitHub
parent eff2fb3d64
commit 206f8fca03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -302,4 +302,4 @@ def get_state_optional_field_value(workflow_name, state):
return frappe.get_cached_value('Workflow Document State', {
'parent': workflow_name,
'state': state
}, 'is_state_optional')
}, 'is_optional_state')