fix(India): Internal transfer check fix
(cherry picked from commit f0af24fc6d26040fa34fd7248bf38301897d9ca1)
This commit is contained in:
parent
ab2adf01c5
commit
da47fe2cfb
@ -249,6 +249,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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user