fix(regional): remove duplicate validation for GSTIN

This commit is contained in:
Sagar Vora 2019-01-23 14:40:01 +05:30
parent f74e28bc64
commit d75095b04c

View File

@ -11,7 +11,7 @@ def validate_gstin_for_india(doc, method):
if not hasattr(doc, 'gstin') or not doc.gstin:
return
doc.gstin = doc.gstin.upper().strip() if doc.gstin else ""
doc.gstin = doc.gstin.upper().strip()
if not doc.gstin or doc.gstin == 'NA':
return