From 9ef1d0f5a509e14ede544bc0c024832838fbdcbf Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Tue, 8 Aug 2017 11:23:25 +0530 Subject: [PATCH] [Fix] Balance sheet not working (#10311) --- erpnext/accounts/report/financial_statements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/report/financial_statements.py b/erpnext/accounts/report/financial_statements.py index b6c4fd2266..d81c1ebc88 100644 --- a/erpnext/accounts/report/financial_statements.py +++ b/erpnext/accounts/report/financial_statements.py @@ -234,7 +234,7 @@ def add_total_row(out, root_type, balance_must_be, period_list, company_currency for period in period_list: total_row.setdefault(period.key, 0.0) total_row[period.key] += row.get(period.key, 0.0) - row[period.key] = "" + row[period.key] = 0.0 total_row.setdefault("total", 0.0) total_row["total"] += flt(row["total"])