fix: validate pan
diff --git a/erpnext/regional/india/utils.py b/erpnext/regional/india/utils.py
index 5f07863..cb30605 100644
--- a/erpnext/regional/india/utils.py
+++ b/erpnext/regional/india/utils.py
@@ -56,7 +56,7 @@
 				.format(doc.gst_state_number))
 
 def validate_pan_for_india(doc, method):
-	if doc.get('country') != 'India':
+	if doc.get('country') != 'India' or not doc.pan:
 		return
 
 	p = re.compile("[A-Z]{5}[0-9]{4}[A-Z]{1}")