fix: Stock qty in HSN wise outward summary

This commit is contained in:
Deepesh Garg
2020-09-03 21:16:31 +05:30
parent 4a67da2b0b
commit b78d35ae1d

View File

@@ -43,6 +43,12 @@ def _execute(filters=None):
data.append(row)
added_item.append((d.parent, d.item_code))
# gst is already added, just add qty and taxable value
else:
row = [d.gst_hsn_code, d.description, d.stock_uom, d.stock_qty, d.base_net_amount, d.base_net_amount]
for tax in tax_columns:
row += [0]
data.append(row)
if data:
data = get_merged_data(columns, data) # merge same hsn code data
return columns, data