From 290ed09dc618df8c3b0789ce1dbb0c3329a3cdcc Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 5 Jun 2014 17:34:59 +0530 Subject: [PATCH] Update new_address_template.py --- erpnext/patches/v4_0/new_address_template.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/v4_0/new_address_template.py b/erpnext/patches/v4_0/new_address_template.py index fc0c957ad6..74b32b968c 100644 --- a/erpnext/patches/v4_0/new_address_template.py +++ b/erpnext/patches/v4_0/new_address_template.py @@ -1,6 +1,7 @@ import frappe def execute(): + frappe.reload_doc("utilities", "doctype", "address_template") d = frappe.new_doc("Address Template") d.update({"country":frappe.db.get_default("country")}) try: