Merge pull request #28185 from vorasmit/ewaybill-fix

fix(regional): incorrect `totalValue` in ewaybill JSON
This commit is contained in:
Deepesh Garg
2021-11-08 17:52:07 +05:30
committed by GitHub

View File

@@ -443,7 +443,7 @@ def get_ewb_data(dt, dn):
data = get_address_details(data, doc, company_address, billing_address, dispatch_address)
data.itemList = []
data.totalValue = doc.total
data.totalValue = doc.net_total
data = get_item_list(data, doc, hsn_wise=True)