mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-02 21:18:27 +00:00
Merge pull request #28777 from deepeshgarg007/auto_tax_fetch_fixes
fix: Error on creating invoice
This commit is contained in:
@@ -219,6 +219,7 @@ def get_regional_address_details(party_details, doctype, company):
|
||||
return
|
||||
|
||||
if not party_details.place_of_supply: return party_details
|
||||
if not party_details.company_gstin: return party_details
|
||||
|
||||
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",
|
||||
|
||||
Reference in New Issue
Block a user