Merge pull request #23953 from vorasmit/fix-sez-dev

fix(regional): set proper state code in ewaybill JSON when GST category is SEZ
This commit is contained in:
Deepesh Garg 2020-11-18 21:51:49 +05:30 committed by GitHub
commit ad16bb4ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -516,6 +516,9 @@ def get_address_details(data, doc, company_address, billing_address):
data.transType = 1
data.actualToStateCode = data.toStateCode
shipping_address = billing_address
if doc.gst_category == 'SEZ':
data.toStateCode = 99
return data