Skip to content

Commit

Permalink
fix(India): Internal transfer check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deepeshgarg007 committed Sep 30, 2021
1 parent b478e72 commit f0af24f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions erpnext/regional/india/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ def is_internal_transfer(party_details, doctype):
elif doctype in ("Purchase Invoice", "Purchase Order", "Purchase Receipt"):
destination_gstin = party_details.supplier_gstin

if not destination_gstin or party_details.gstin:
return False

if party_details.gstin == destination_gstin:
return True
else:
Expand Down

0 comments on commit f0af24f

Please sign in to comment.