fix(mode of payment): use valid syntax (backport #51542) (#52134)

Co-authored-by: ervishnucs <ervishnucs369@gmail.com>
This commit is contained in:
mergify[bot]
2026-01-28 15:10:31 +05:30
committed by GitHub
parent 0c395725b7
commit 22869b6f9d

View File

@@ -7,7 +7,7 @@ frappe.ui.form.on("Mode of Payment", {
let d = locals[cdt][cdn];
return {
filters: [
["Account", "account_type", "in", "Bank, Cash, Receivable"],
["Account", "account_type", "in", ["Bank", "Cash", "Receivable"]],
["Account", "is_group", "=", 0],
["Account", "company", "=", d.company],
],