Merge pull request #23252 from deepeshgarg007/hsn_wise_summary

fix: Stock qty in HSN wise outward summary
This commit is contained in:
Deepesh Garg
2020-09-03 21:29:58 +05:30
committed by GitHub

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