From 7e44f9789b1664fce2303626019f281ba4003f7a Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 8 Dec 2011 18:07:20 +0530 Subject: [PATCH] Patch for c-form --- erpnext/patches/c_form_patch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/c_form_patch.py b/erpnext/patches/c_form_patch.py index 41da19645b..a55768d2b1 100644 --- a/erpnext/patches/c_form_patch.py +++ b/erpnext/patches/c_form_patch.py @@ -5,6 +5,7 @@ def execute(): reload_doc('accounts', 'doctype', 'receivable_voucher') reload_doc('accounts', 'doctype', 'c_form') reload_doc('accounts', 'doctype', 'c_form_invoice_details') + reload_doc('accounts', 'Module Def', 'Accounts') sql = webnotes.conn.sql sql("update `tabReceivable Voucher` set c_form_applicable = 'Yes' where c_form_applicable = 'Y'")