Explorar el Código

Merge pull request #2149 from saurabh6790/hotfix

[minor][fix] check workflow document state messages is translatable
version-14
Nabin Hait hace 8 años
committed by GitHub
padre
commit
b68a5249c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      frappe/translate.py

+ 1
- 1
frappe/translate.py Ver fichero

@@ -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',


Cargando…
Cancelar
Guardar