fix: regional(India) totalValue for ewaybill

This commit is contained in:
Smit Vora 2021-11-01 15:55:19 +05:30
parent 1eab3a44f6
commit e2d866d6a2

View File

@ -446,7 +446,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)