From 12a2e51e20ea6f7a4f525a14e921aa56bd8a0894 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 27 Oct 2020 18:38:44 +0530 Subject: [PATCH] fix(minor): translation string encoding in quality_procedure.py --- .../doctype/quality_procedure/quality_procedure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/quality_management/doctype/quality_procedure/quality_procedure.py b/erpnext/quality_management/doctype/quality_procedure/quality_procedure.py index f0857275ca..53f4e6c70f 100644 --- a/erpnext/quality_management/doctype/quality_procedure/quality_procedure.py +++ b/erpnext/quality_management/doctype/quality_procedure/quality_procedure.py @@ -47,7 +47,7 @@ class QualityProcedure(NestedSet): # Check if any child process belongs to another parent. parent_quality_procedure = frappe.db.get_value("Quality Procedure", process.procedure, "parent_quality_procedure") if parent_quality_procedure and parent_quality_procedure != self.name: - frappe.throw(_("{0} already has a Parent Procedure {1}.".format(frappe.bold(process.procedure), frappe.bold(parent_quality_procedure))), + frappe.throw(_("{0} already has a Parent Procedure {1}.").format(frappe.bold(process.procedure), frappe.bold(parent_quality_procedure)), title=_("Invalid Child Procedure")) @frappe.whitelist()