By: nabinhait
Depreciation account is an expense account, it is debited while booking depreciation. Thats why Depreciation amount is coming as negative, I think it should be positive and added to the "Net Profit and Loss".
diff --git a/erpnext/accounts/report/financial_statements.py b/erpnext/accounts/report/financial_statements.py
index be13ea5..c6a7ab5 100644
--- a/erpnext/accounts/report/financial_statements.py
+++ b/erpnext/accounts/report/financial_statements.py
@@ -269,6 +269,8 @@
(company, period['from_date'], period['to_date'], account_type))
if gl_sum[0]:
amount = gl_sum[0]
+ if account_type == "Depreciation":
+ amount *= -1
else:
amount = 0
data.update({"from_date": period['from_date'], "to_date": period['to_date'], period["key"]: amount})