[minor][fix] check workflow document state messages is translatable
This commit is contained in:
parent
12baefd4a9
commit
a5c74e661a
1 changed files with 1 additions and 1 deletions
|
|
@ -364,7 +364,7 @@ def get_messages_from_workflow(doctype=None, app_name=None):
|
|||
(w['name'],), as_dict=True)
|
||||
|
||||
messages.extend([("Workflow: " + w['name'], states['message'])
|
||||
for state in states if is_translatable(state['state'])])
|
||||
for state in states if is_translatable(state['message'])])
|
||||
|
||||
actions = frappe.db.sql(
|
||||
'select distinct action from `tabWorkflow Transition` where parent=%s',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue