brotherton-erpnext/patches/october_2012/remove_old_customer_contact_address.py
2012-11-26 15:18:36 +05:30

7 lines
263 B
Python

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