c-form reload pach
diff --git a/erpnext/patches/april_2012/reload_c_form.py b/erpnext/patches/april_2012/reload_c_form.py
new file mode 100644
index 0000000..246ea0f
--- /dev/null
+++ b/erpnext/patches/april_2012/reload_c_form.py
@@ -0,0 +1,4 @@
+def execute():
+ import webnotes
+ from webnotes.modules.module_manager import reload_doc
+ reload_doc('accounts', 'doctype', 'c_form')
diff --git a/erpnext/patches/patch_list.py b/erpnext/patches/patch_list.py
index 3099456..cd38480 100644
--- a/erpnext/patches/patch_list.py
+++ b/erpnext/patches/patch_list.py
@@ -222,5 +222,10 @@
'patch_file': 'so_rv_mapper_fix',
'description': 'SO-RV duplicate mapper entry removal'
},
+ {
+ 'patch_module': 'patches.april_2012',
+ 'patch_file': 'reload_c_form',
+ 'description': 'Added attchemnt option and total field'
+ },
]