fix: Cash flow filter fix

This commit is contained in:
Deepesh Garg 2020-01-31 11:16:30 +05:30
parent ba44f28202
commit 34c33baa82

View File

@ -129,7 +129,6 @@ def get_account_type_based_gl_data(company, start_date, end_date, account_type,
cond = ""
filters = frappe._dict(filters)
if filters.finance_book:
if filters.include_default_book_entries:
company_fb = frappe.db.get_value("Company", company, 'default_finance_book')
cond = """ AND (finance_book in (%s, %s, '') OR finance_book IS NULL)