commit | ad16bb4ec128918f4cc7d37e9c831ad45a141d26 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com> | Wed Nov 18 21:51:49 2020 +0530 |
committer | GitHub <noreply@github.com> | Wed Nov 18 21:51:49 2020 +0530 |
tree | 73903403550604eb9886f9bb2d3052396c6c3034 | |
parent | 67ba0462e933c5485ae817145bb4431c35fcc313 [diff] | |
parent | bbe4933a523b737d4537827685de508cae8dac64 [diff] |
Merge pull request #23953 from vorasmit/fix-sez-dev fix(regional): set proper state code in ewaybill JSON when GST category is SEZ
diff --git a/erpnext/regional/india/utils.py b/erpnext/regional/india/utils.py index 6164e06..5458001 100644 --- a/erpnext/regional/india/utils.py +++ b/erpnext/regional/india/utils.py
@@ -516,6 +516,9 @@ data.transType = 1 data.actualToStateCode = data.toStateCode shipping_address = billing_address + + if doc.gst_category == 'SEZ': + data.toStateCode = 99 return data