fix(India) Tax calculation for overseas suppliers
This commit is contained in:
parent
b75b00fefc
commit
e45c38337c
@ -219,6 +219,7 @@ def get_regional_address_details(party_details, doctype, company):
|
|||||||
|
|
||||||
if not party_details.place_of_supply: return party_details
|
if not party_details.place_of_supply: return party_details
|
||||||
if not party_details.company_gstin: return party_details
|
if not party_details.company_gstin: return party_details
|
||||||
|
if not party_details.supplier_gstin: return party_details
|
||||||
|
|
||||||
if ((doctype in ("Sales Invoice", "Delivery Note", "Sales Order") and party_details.company_gstin
|
if ((doctype in ("Sales Invoice", "Delivery Note", "Sales Order") and party_details.company_gstin
|
||||||
and party_details.company_gstin[:2] != party_details.place_of_supply[:2]) or (doctype in ("Purchase Invoice",
|
and party_details.company_gstin[:2] != party_details.place_of_supply[:2]) or (doctype in ("Purchase Invoice",
|
||||||
|
Loading…
Reference in New Issue
Block a user