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

This commit is contained in:
Deepesh Garg
2022-02-11 19:14:54 +05:30
3 changed files with 2 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.6
python-version: 3.7
- name: Setup Node
uses: actions/setup-node@v2

View File

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

View File

@@ -221,7 +221,6 @@ def get_regional_address_details(party_details, doctype, company):
if not party_details.place_of_supply: 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
and party_details.company_gstin[:2] != party_details.place_of_supply[:2]) or (doctype in ("Purchase Invoice",