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:
parent
eff2fb3d64
commit
206f8fca03
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue