frappe.model.utils.rename_field.rename_field (doctype, old_fieldname, new_fieldname)
This functions assumes that doctype is already synced
frappe.model.utils.rename_field.update_property_setters (doctype, old_fieldname, new_fieldname)
No docs
frappe.model.utils.rename_field.update_reports (doctype, old_fieldname, new_fieldname)
No docs
frappe.model.utils.rename_field.update_users_report_view_settings (doctype, ref_fieldname, new_fieldname)
No docs