mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
fix(India): Internal transfer check fix
This commit is contained in:
@@ -248,6 +248,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