commit | d75095b04c794e957315f67e41cd0d5764d8fee5 | [log] [tgz] |
---|---|---|
author | Sagar Vora <sagar@resilient.tech> | Wed Jan 23 14:40:01 2019 +0530 |
committer | Sagar Vora <sagar@resilient.tech> | Wed Jan 23 14:40:01 2019 +0530 |
tree | 1842612a0dc13d9f704802ebc705dc63de453434 | |
parent | f74e28bc648d2e68d194f29e545d7f6471f21c41 [diff] |
fix(regional): remove duplicate validation for GSTIN
diff --git a/erpnext/regional/india/utils.py b/erpnext/regional/india/utils.py index 43ed868..d93ef3b 100644 --- a/erpnext/regional/india/utils.py +++ b/erpnext/regional/india/utils.py
@@ -11,7 +11,7 @@ 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