diff --git a/patches/october_2012/remove_old_customer_contact_address.py b/patches/october_2012/remove_old_customer_contact_address.py index 17674ce72a9..1c62a682298 100644 --- a/patches/october_2012/remove_old_customer_contact_address.py +++ b/patches/october_2012/remove_old_customer_contact_address.py @@ -2,6 +2,6 @@ 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') \ No newline at end of file + + webnotes.reload_doc("core", "doctype", "report") + webnotes.reload_doc('selling', 'report', 'customer_addresses_and_contacts') \ No newline at end of file