Merge pull request #51542 from aerele/fix/filter_in_mode_of_payment

fix(mode of payment): use valid syntax
This commit is contained in:
ruthra kumar
2026-01-07 12:45:27 +05:30
committed by GitHub

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