diff --git a/frappe/model/utils/rename_field.py b/frappe/model/utils/rename_field.py index 0fb2e29f34..730f8c31a9 100644 --- a/frappe/model/utils/rename_field.py +++ b/frappe/model/utils/rename_field.py @@ -5,6 +5,7 @@ from __future__ import unicode_literals import frappe import json +from frappe.model import no_value_fields def rename_field(doctype, old_fieldname, new_fieldname): """This functions assumes that doctype is already synced"""