Merge pull request #27746 from Lyes7/fix/fix-workflow-typos
fix: workflow typos
This commit is contained in:
commit
64ec68ff00
2 changed files with 2 additions and 2 deletions
|
|
@ -351,7 +351,7 @@ def get_messages_from_workflow(doctype=None, app_name=None):
|
|||
else:
|
||||
fixtures = frappe.get_hooks("fixtures", app_name=app_name) or []
|
||||
for fixture in fixtures:
|
||||
if isinstance(fixture, str) and fixture == "Worflow":
|
||||
if isinstance(fixture, str) and fixture == "Workflow":
|
||||
workflows = frappe.get_all("Workflow")
|
||||
break
|
||||
elif isinstance(fixture, dict) and fixture.get("dt", fixture.get("doctype")) == "Workflow":
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ frappe.ui.form.on("Workflow", {
|
|||
};
|
||||
|
||||
frappe.warn(
|
||||
__("Worflow States Don't Exist"),
|
||||
__("Workflow States Don't Exist"),
|
||||
message_html,
|
||||
proceed_action,
|
||||
__("Save Anyway")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue