Fixed translations and tests (#12900)
* Fixed translations and tests * minor fixes * minor test fixes
This commit is contained in:
@@ -335,7 +335,7 @@ def get_assessment_result_doc(student, assessment_plan):
|
||||
if doc.docstatus == 0:
|
||||
return doc
|
||||
elif doc.docstatus == 1:
|
||||
frappe.msgprint("Result already Submitted")
|
||||
frappe.msgprint(_("Result already Submitted"))
|
||||
return None
|
||||
else:
|
||||
return frappe.new_doc("Assessment Result")
|
||||
|
||||
Reference in New Issue
Block a user