Merge branch 'version-13-pre-release' into version-13

This commit is contained in:
Rohit Waghchaure
2021-12-08 13:27:11 +05:30
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ import frappe
from erpnext.hooks import regional_overrides
__version__ = '13.16.0'
__version__ = '13.16.1'
def get_default_company(user=None):
'''Get default company for user'''

View File

@@ -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",