minor fix
diff --git a/erpnext/patches/v10_0/update_address_template_for_india.py b/erpnext/patches/v10_0/update_address_template_for_india.py
index cb2b159..145ed45 100644
--- a/erpnext/patches/v10_0/update_address_template_for_india.py
+++ b/erpnext/patches/v10_0/update_address_template_for_india.py
@@ -6,7 +6,7 @@
 from erpnext.regional.india.setup import update_address_template
 
 def execute():
-	if frappe.get_cached_value('Company',  {'country': 'India'},  'name'):
+	if frappe.db.get_value('Company',  {'country': 'India'},  'name'):
 		address_template = frappe.db.get_value('Address Template', 'India', 'template')
 		if not address_template or "gstin" not in address_template:
 			update_address_template()