[fix] address creation for india/setup.py
This commit is contained in:
parent
f4e908bd91
commit
9b09ff29d2
@ -25,11 +25,11 @@ def update_address_template():
|
|||||||
frappe.db.set_value('Address Template', 'India', 'template', html)
|
frappe.db.set_value('Address Template', 'India', 'template', html)
|
||||||
else:
|
else:
|
||||||
# make new html template for India
|
# make new html template for India
|
||||||
frappe.get_doc(
|
frappe.get_doc(dict(
|
||||||
doctype='Address Template',
|
doctype='Address Template',
|
||||||
country='India',
|
country='India',
|
||||||
template=html
|
template=html
|
||||||
).insert()
|
)).insert()
|
||||||
|
|
||||||
def add_hsn_codes():
|
def add_hsn_codes():
|
||||||
if frappe.db.count('GST HSN Code') > 100:
|
if frappe.db.count('GST HSN Code') > 100:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user