reload_doc can now do doctypes, update patch

This commit is contained in:
Rushabh Mehta 2012-11-26 15:18:36 +05:30
parent f0a19a2763
commit 21df1479a7

View File

@ -3,5 +3,5 @@ def execute():
webnotes.conn.sql("""delete from `tabSearch Criteria` \ webnotes.conn.sql("""delete from `tabSearch Criteria` \
where name = 'customer_address_contact'""") where name = 'customer_address_contact'""")
from webnotes.modules import reload_doc webnotes.reload_doc("core", "doctype", "report")
reload_doc('selling', 'report', 'customer_addresses_and_contacts') webnotes.reload_doc('selling', 'report', 'customer_addresses_and_contacts')