fix: Cash flow filter fix
This commit is contained in:
parent
ba44f28202
commit
34c33baa82
@ -129,7 +129,6 @@ def get_account_type_based_gl_data(company, start_date, end_date, account_type,
|
|||||||
cond = ""
|
cond = ""
|
||||||
filters = frappe._dict(filters)
|
filters = frappe._dict(filters)
|
||||||
|
|
||||||
if filters.finance_book:
|
|
||||||
if filters.include_default_book_entries:
|
if filters.include_default_book_entries:
|
||||||
company_fb = frappe.db.get_value("Company", company, 'default_finance_book')
|
company_fb = frappe.db.get_value("Company", company, 'default_finance_book')
|
||||||
cond = """ AND (finance_book in (%s, %s, '') OR finance_book IS NULL)
|
cond = """ AND (finance_book in (%s, %s, '') OR finance_book IS NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user