Browse Source

[minor][fix] check workflow document state messages is translatable

version-14
Saurabh 8 years ago
parent
commit
a5c74e661a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/translate.py

+ 1
- 1
frappe/translate.py View File

@@ -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…
Cancel
Save