fix: GST account not showing up in tax templates

This commit is contained in:
Deepesh Garg 2022-03-22 18:26:58 +05:30
parent 01fd3adedf
commit 57924599da

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