fix: user can select disabled accounts in taxes table

(cherry picked from commit a1e3ae8869)
This commit is contained in:
Saqib Ansari
2022-05-11 13:01:06 +05:30
committed by Mergify
parent 9fbd170fa4
commit 047c879bec
2 changed files with 4 additions and 1 deletions

View File

@@ -27,7 +27,8 @@ frappe.ui.form.on(cur_frm.doctype, {
query: "erpnext.controllers.queries.tax_account_query",
filters: {
"account_type": account_type,
"company": doc.company
"company": doc.company,
"disabled": 0
}
}
});