[fix] reload doctype forcefully to rename project field

This commit is contained in:
Nabin Hait 2016-03-16 12:29:32 +05:30
parent 22d4a7e742
commit a61930e7a7

View File

@ -12,6 +12,6 @@ def execute():
"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")