@whitelist.__func__
	def submit(self):
		self.docstatus = 1
		self.save()
Submit the document. Sets `docstatus` = 1, then saves.
dataset/ETHPy150Open frappe/frappe/frappe/model/document.py/Document.submit