mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
Merge pull request #16469 from sagarvora/minor-gstin
fix(regional): remove duplicate validation for GSTIN
This commit is contained in:
@@ -11,7 +11,7 @@ def validate_gstin_for_india(doc, method):
|
|||||||
if not hasattr(doc, 'gstin') or not doc.gstin:
|
if not hasattr(doc, 'gstin') or not doc.gstin:
|
||||||
return
|
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':
|
if not doc.gstin or doc.gstin == 'NA':
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user