Merge pull request #30371 from frappe/mergify/bp/version-13-hotfix/pr-30361

fix: GST account not showing up in tax templates (backport #30361)
This commit is contained in:
Deepesh Garg
2022-03-23 13:42:44 +05:30
committed by GitHub

View File

@@ -168,7 +168,7 @@ def tax_account_query(doctype, txt, searchfield, start, page_len, filters):
{account_type_condition}
AND is_group = 0
AND company = %(company)s
AND account_currency = %(currency)s
AND (account_currency = %(currency)s or ifnull(account_currency, '') = '')
AND `{searchfield}` LIKE %(txt)s
{mcond}
ORDER BY idx DESC, name