From b02effbc47fbe4d3edb5e0c3fa6aec04130543bb Mon Sep 17 00:00:00 2001 From: GangaManoj Date: Wed, 25 Aug 2021 01:00:40 +0530 Subject: [PATCH] fix: Indentation --- .../accounts/report/gross_profit/gross_profit.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/erpnext/accounts/report/gross_profit/gross_profit.py b/erpnext/accounts/report/gross_profit/gross_profit.py index cdc929b42fe..056b56b33e6 100644 --- a/erpnext/accounts/report/gross_profit/gross_profit.py +++ b/erpnext/accounts/report/gross_profit/gross_profit.py @@ -62,14 +62,14 @@ def execute(filters=None): else: for idx, src in enumerate(gross_profit_data.grouped_data): - row = [] - for col in group_wise_columns.get(scrub(filters.group_by)): - row.append(src.get(col)) + row = [] + for col in group_wise_columns.get(scrub(filters.group_by)): + row.append(src.get(col)) - row.append(filters.currency) - if idx == len(gross_profit_data.grouped_data)-1: - row[0] = frappe.bold("Total") - data.append(row) + row.append(filters.currency) + if idx == len(gross_profit_data.grouped_data)-1: + row[0] = frappe.bold("Total") + data.append(row) return columns, data