mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-10 13:57:19 +00:00
Merge pull request #23954 from vorasmit/fix-sez-v12
fix(regional): set proper state code in ewaybill JSON when GST category is SEZ
This commit is contained in:
@@ -500,6 +500,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user