brotherton-erpnext/patches/october_2012/remove_old_customer_contact_address.py
2012-10-04 18:38:11 +05:30

7 lines
246 B
Python

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