diff --git a/erpnext/patches/v4_0/new_address_template.py b/erpnext/patches/v4_0/new_address_template.py index fc0c957ad6c..74b32b968c2 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: