fix(minor): translation string encoding in quality_procedure.py
This commit is contained in:
parent
cf1428904a
commit
12a2e51e20
@ -47,7 +47,7 @@ class QualityProcedure(NestedSet):
|
|||||||
# Check if any child process belongs to another parent.
|
# Check if any child process belongs to another parent.
|
||||||
parent_quality_procedure = frappe.db.get_value("Quality Procedure", process.procedure, "parent_quality_procedure")
|
parent_quality_procedure = frappe.db.get_value("Quality Procedure", process.procedure, "parent_quality_procedure")
|
||||||
if parent_quality_procedure and parent_quality_procedure != self.name:
|
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"))
|
title=_("Invalid Child Procedure"))
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user