chore: Linting Issues

This commit is contained in:
Deepesh Garg 2022-06-09 18:58:04 +05:30
parent fe5b9e8bbb
commit b9dbb36d0e

View File

@ -161,7 +161,9 @@ def get_rootwise_opening_balances(filters, report_type):
additional_conditions += " and project = %(project)s"
if filters.get("include_default_book_entries"):
additional_conditions += "AND (finance_book in (%(finance_book)s, %(company_fb)s, '') OR finance_book IS NULL)"
additional_conditions += (
"AND (finance_book in (%(finance_book)s, %(company_fb)s, '') OR finance_book IS NULL)"
)
else:
additional_conditions += "AND (finance_book in (%(finance_book)s, '') OR finance_book IS NULL)"