mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 06:48:31 +00:00
[fix] address creation for india/setup.py
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user