[fix] Fixed party update status patch
diff --git a/erpnext/patches/v7_0/update_party_status.py b/erpnext/patches/v7_0/update_party_status.py
index c9cab95..1307377 100644
--- a/erpnext/patches/v7_0/update_party_status.py
+++ b/erpnext/patches/v7_0/update_party_status.py
@@ -1,7 +1,9 @@
 import frappe
+from erpnext.accounts.party_status import update_status
 
 def execute():
 	for doctype in ('Customer', 'Supplier'):
+		frappe.reload_doctype(doctype)
 		for doc in frappe.get_all(doctype):
 			doc = frappe.get_doc(doctype, doc.name)
-			doc.update_status()
\ No newline at end of file
+			update_status(doc)
\ No newline at end of file