mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
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:
@@ -517,6 +517,9 @@ def get_address_details(data, doc, company_address, billing_address):
|
|||||||
data.actualToStateCode = data.toStateCode
|
data.actualToStateCode = data.toStateCode
|
||||||
shipping_address = billing_address
|
shipping_address = billing_address
|
||||||
|
|
||||||
|
if doc.gst_category == 'SEZ':
|
||||||
|
data.toStateCode = 99
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def get_item_list(data, doc):
|
def get_item_list(data, doc):
|
||||||
|
|||||||
Reference in New Issue
Block a user