Fixed issue in c-form patch
diff --git a/erpnext/patches/c_form_patch.py b/erpnext/patches/c_form_patch.py
index a55768d..0f8fa22 100644
--- a/erpnext/patches/c_form_patch.py
+++ b/erpnext/patches/c_form_patch.py
@@ -4,7 +4,7 @@
 
 	reload_doc('accounts', 'doctype', 'receivable_voucher')
 	reload_doc('accounts', 'doctype', 'c_form')
-	reload_doc('accounts', 'doctype', 'c_form_invoice_details')
+	reload_doc('accounts', 'doctype', 'c_form_invoice_detail')
 	reload_doc('accounts', 'Module Def', 'Accounts')
 
 	sql = webnotes.conn.sql