Merge pull request #27746 from Lyes7/fix/fix-workflow-typos

fix: workflow typos
This commit is contained in:
Akhil Narang 2024-09-16 16:22:10 +05:30 committed by GitHub
commit 64ec68ff00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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":

View file

@ -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")