commit | 57924599da01d2aabef9948a296c5ddbdcc4ed3d | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Tue Mar 22 18:26:58 2022 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Tue Mar 22 18:26:58 2022 +0530 |
tree | b4d42c61b39ebb695939f3031071175a1d7896be | |
parent | 01fd3adedf289aa18947310f06a1b6b38ba7ecd6 [diff] |
fix: GST account not showing up in tax templates
diff --git a/erpnext/controllers/queries.py b/erpnext/controllers/queries.py index dd9b45c..d870823 100644 --- a/erpnext/controllers/queries.py +++ b/erpnext/controllers/queries.py
@@ -168,7 +168,7 @@ {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