mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 01:34:10 +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"):
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user