[fix] address creation for india/setup.py

This commit is contained in:
Rushabh Mehta 2017-06-27 12:17:39 +05:30
parent f4e908bd91
commit 9b09ff29d2

View File

@ -25,11 +25,11 @@ def update_address_template():
frappe.db.set_value('Address Template', 'India', 'template', html)
else:
# make new html template for India
frappe.get_doc(
frappe.get_doc(dict(
doctype='Address Template',
country='India',
template=html
).insert()
)).insert()
def add_hsn_codes():
if frappe.db.count('GST HSN Code') > 100: