fix(mode of payment): use valid syntax

This commit is contained in:
ervishnucs
2026-01-06 18:13:26 +05:30
parent f8f82ccf31
commit 6cd4ef694e

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],
],