mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
fix: removed an unnecessary check which always evaluates to true
This commit is contained in:
committed by
ruthra kumar
parent
6b31c27ed6
commit
49aed7ff69
@@ -378,7 +378,6 @@ class Deferred_Revenue_and_Expense_Report(object):
|
|||||||
ret += [{}]
|
ret += [{}]
|
||||||
|
|
||||||
# add total row
|
# add total row
|
||||||
if ret is not []:
|
|
||||||
if self.filters.type == "Revenue":
|
if self.filters.type == "Revenue":
|
||||||
total_row = frappe._dict({"name": "Total Deferred Income"})
|
total_row = frappe._dict({"name": "Total Deferred Income"})
|
||||||
elif self.filters.type == "Expense":
|
elif self.filters.type == "Expense":
|
||||||
|
|||||||
Reference in New Issue
Block a user