fix: Project filter in Trial Baalance Report

This commit is contained in:
Deepesh Garg 2020-05-20 22:15:12 +05:30 committed by Nabin Hait
parent 6917849273
commit 18ace30a81

View File

@ -71,6 +71,7 @@ def get_data(filters):
opening_balances = get_opening_balances(filters) opening_balances = get_opening_balances(filters)
#add filter inside list so that the query in financial_statements.py doesn't break #add filter inside list so that the query in financial_statements.py doesn't break
if filters.project:
filters.project = [filters.project] filters.project = [filters.project]
set_gl_entries_by_account(filters.company, filters.from_date, set_gl_entries_by_account(filters.company, filters.from_date,