Update new_address_template.py

This commit is contained in:
Anand Doshi 2014-06-05 17:34:59 +05:30 committed by Rushabh Mehta
parent 0739937fa2
commit 290ed09dc6

View File

@ -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: