def METHOD_NAME(doc: Document, action: str, alert: bool = True):
	queue = frappe.new_doc("Submission Queue")
	queue.ref_doctype = doc.doctype
	queue.ref_docname = doc.name
	queue.insert(doc, action)
	if alert:
		frappe.msgprint(
			_("Queued for Submission. You can track the progress over {0}.").format(
				f"<a href='/app/submission-queue/{queue.name}'><b>here</b></a>"
			),
			indicator="green",
			alert=True,
		)