fix: Account sub query

This commit is contained in:
Deepesh Garg 2023-03-17 16:59:23 +05:30
parent d11a64ddcb
commit 7f11373b58

View File

@ -190,7 +190,7 @@ def get_opening_balance(
(closing_balance.company == filters.company)
& (
closing_balance.account.isin(
frappe.qb.from_("account").select("name").where(account.report_type == report_type)
frappe.qb.from_(account).select("name").where(account.report_type == report_type)
)
)
)