From 671f16d3120348d4116e0ef1ee6a9aab0ddd6831 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 4 Oct 2012 18:38:11 +0530 Subject: [PATCH] customer addresses and contacts report (query) --- .../october_2012/remove_old_customer_contact_address.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 patches/october_2012/remove_old_customer_contact_address.py diff --git a/patches/october_2012/remove_old_customer_contact_address.py b/patches/october_2012/remove_old_customer_contact_address.py new file mode 100644 index 0000000000..17674ce72a --- /dev/null +++ b/patches/october_2012/remove_old_customer_contact_address.py @@ -0,0 +1,7 @@ +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