step 0: install
diff --git a/erpnext/patches/1311/p01_cleanup.py b/erpnext/patches/1311/p01_cleanup.py
index 04d8f6a..23f6576 100644
--- a/erpnext/patches/1311/p01_cleanup.py
+++ b/erpnext/patches/1311/p01_cleanup.py
@@ -9,7 +9,7 @@
 	webnotes.reload_doc("buying", "doctype", "purchase_order")
 	webnotes.reload_doc("selling", "doctype", "lead")
 
-	from core.doctype.custom_field.custom_field import create_custom_field_if_values_exist
+	from webnotes.core.doctype.custom_field.custom_field import create_custom_field_if_values_exist
 	
 	create_custom_field_if_values_exist("Material Request", 
 		{"fieldtype":"Text", "fieldname":"remark", "label":"Remarks","insert_after":"Fiscal Year"})