Merge pull request #30361 from deepeshgarg007/tax_account_display

fix: GST account not showing up in tax templates
This commit is contained in:
Deepesh Garg 2022-03-23 13:17:11 +05:30 committed by GitHub
commit c3f1ad78aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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