Merge branch 'develop' into ksa-vat-updates

This commit is contained in:
Deepesh Garg 2021-12-08 09:38:11 +05:30 committed by GitHub
commit 948b67b744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -217,6 +217,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",