[fix] reload doctype forcefully to rename project field
diff --git a/erpnext/patches/v6_20x/rename_project_name_to_project.py b/erpnext/patches/v6_20x/rename_project_name_to_project.py
index b420ce9..8851451 100644
--- a/erpnext/patches/v6_20x/rename_project_name_to_project.py
+++ b/erpnext/patches/v6_20x/rename_project_name_to_project.py
@@ -12,6 +12,6 @@
"Purchase Receipt Item", "Supplier Quotation Item"]
for doctype in doc_list:
- frappe.reload_doctype(doctype)
+ frappe.reload_doctype(doctype, force=True)
rename_field(doctype, "project_name", "project")
\ No newline at end of file