2011-12-08 12:36:53 +00:00
|
|
|
def execute():
|
|
|
|
import webnotes
|
|
|
|
from webnotes.modules.module_manager import reload_doc
|
|
|
|
|
|
|
|
reload_doc('accounts', 'doctype', 'receivable_voucher')
|
|
|
|
reload_doc('accounts', 'doctype', 'c_form')
|
2011-12-16 11:18:17 +00:00
|
|
|
reload_doc('accounts', 'doctype', 'c_form_invoice_detail')
|
2011-12-08 12:37:20 +00:00
|
|
|
reload_doc('accounts', 'Module Def', 'Accounts')
|
2011-12-08 12:36:53 +00:00
|
|
|
|
|
|
|
sql = webnotes.conn.sql
|
|
|
|
sql("update `tabReceivable Voucher` set c_form_applicable = 'Yes' where c_form_applicable = 'Y'")
|
|
|
|
sql("update `tabReceivable Voucher` set c_form_applicable = 'No' where c_form_applicable = 'N'")
|