From b240cfe40118c7dfcbea834e29ef1f7d40d01d44 Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Tue, 21 Jul 2020 14:54:21 +0530 Subject: [PATCH] fix: Remove print statements --- .../hsn_wise_summary_of_outward_supplies.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/erpnext/regional/report/hsn_wise_summary_of_outward_supplies/hsn_wise_summary_of_outward_supplies.py b/erpnext/regional/report/hsn_wise_summary_of_outward_supplies/hsn_wise_summary_of_outward_supplies.py index 25d18119af..a3ed4cebb1 100644 --- a/erpnext/regional/report/hsn_wise_summary_of_outward_supplies/hsn_wise_summary_of_outward_supplies.py +++ b/erpnext/regional/report/hsn_wise_summary_of_outward_supplies/hsn_wise_summary_of_outward_supplies.py @@ -95,7 +95,7 @@ def get_conditions(filters): ("gst_hsn_code", " and gst_hsn_code=%(gst_hsn_code)s"), ("company_gstin", " and company_gstin=%(company_gstin)s"), ("from_date", " and posting_date >= %(from_date)s"), - ("to_date", " and posting_date <= %(to_date)s")): + ("to_date", "and posting_date <= %(to_date)s")): if filters.get(opts[0]): conditions += opts[1] @@ -126,7 +126,6 @@ def get_items(filters): return items def get_tax_accounts(item_list, columns, company_currency, doctype="Sales Invoice", tax_doctype="Sales Taxes and Charges"): - item_row_map = {} tax_columns = [] invoice_item_row = {} @@ -156,7 +155,6 @@ def get_tax_accounts(item_list, columns, company_currency, doctype="Sales Invoic for parent, description, item_wise_tax_detail, tax_amount in tax_details: description = handle_html(description) - print(parent, description, item_wise_tax_detail, tax_amount) if description not in tax_columns and tax_amount: # as description is text editor earlier and markup can break the column convention in reports tax_columns.append(description)