mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
fix(India): Internal transfer check fix
(cherry picked from commit f0af24fc6d)
This commit is contained in:
committed by
mergify-bot
parent
ab2adf01c5
commit
da47fe2cfb
@@ -249,6 +249,9 @@ def is_internal_transfer(party_details, doctype):
|
|||||||
elif doctype in ("Purchase Invoice", "Purchase Order", "Purchase Receipt"):
|
elif doctype in ("Purchase Invoice", "Purchase Order", "Purchase Receipt"):
|
||||||
destination_gstin = party_details.supplier_gstin
|
destination_gstin = party_details.supplier_gstin
|
||||||
|
|
||||||
|
if not destination_gstin or party_details.gstin:
|
||||||
|
return False
|
||||||
|
|
||||||
if party_details.gstin == destination_gstin:
|
if party_details.gstin == destination_gstin:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user