Ver código fonte

[fix] workflow message (#2056)

version-14
akshay83 8 anos atrás
committed by Rushabh Mehta
pai
commit
14b8e5cee4
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      frappe/translate.py

+ 2
- 2
frappe/translate.py Ver arquivo

@@ -366,8 +366,8 @@ def get_messages_from_workflow(doctype=None, app_name=None):
'select distinct message from `tabWorkflow Document State` where parent=%s and message is not null',
(w['name'],), as_dict=True)

messages.extend([("Workflow: " + w['name'], states['message'])
for state in states if is_translatable(state['state'])])
messages.extend([("Workflow: " + w['name'], state['message'])
for state in states if is_translatable(state['message'])])

actions = frappe.db.sql(
'select distinct action from `tabWorkflow Transition` where parent=%s',


Carregando…
Cancelar
Salvar