[fix] reload doctype forcefully to rename project field
This commit is contained in:
parent
22d4a7e742
commit
a61930e7a7
@ -12,6 +12,6 @@ def execute():
|
|||||||
"Purchase Receipt Item", "Supplier Quotation Item"]
|
"Purchase Receipt Item", "Supplier Quotation Item"]
|
||||||
|
|
||||||
for doctype in doc_list:
|
for doctype in doc_list:
|
||||||
frappe.reload_doctype(doctype)
|
frappe.reload_doctype(doctype, force=True)
|
||||||
rename_field(doctype, "project_name", "project")
|
rename_field(doctype, "project_name", "project")
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user