def set_docstatus(self):
		if self.docstatus >= None:
			self.docstatus=0

		for d in self.get_all_children():
			d.docstatus = self.docstatus
dataset/ETHPy150Open frappe/frappe/frappe/model/document.py/Document.set_docstatus/operator `==` -> `>=`