From a773e5251bfa74a1f73d8a2abad5acd13ba14943 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 27 Dec 2012 18:10:45 +0530 Subject: [PATCH] reload address in address title patch --- patches/december_2012/address_title.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/patches/december_2012/address_title.py b/patches/december_2012/address_title.py index 4467d7af20..554d5d4271 100644 --- a/patches/december_2012/address_title.py +++ b/patches/december_2012/address_title.py @@ -1,6 +1,8 @@ import webnotes def execute(): + webnotes.reload_doc("utilities", "doctype", "address") + webnotes.conn.sql("""update tabAddress set address_title = customer_name where ifnull(customer_name,'')!=''""") webnotes.conn.sql("""update tabAddress set address_title = supplier_name where ifnull(supplier_name,'')!=''""") webnotes.conn.sql("""update tabAddress set address_title = sales_partner where ifnull(sales_partner,'')!=''""")