Update new_address_template.py
This commit is contained in:
parent
0739937fa2
commit
290ed09dc6
@ -1,6 +1,7 @@
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
frappe.reload_doc("utilities", "doctype", "address_template")
|
||||||
d = frappe.new_doc("Address Template")
|
d = frappe.new_doc("Address Template")
|
||||||
d.update({"country":frappe.db.get_default("country")})
|
d.update({"country":frappe.db.get_default("country")})
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user