fix: empty party filter on change of party type in General Ledger Report.

(cherry picked from commit 9c68bc22fa)
This commit is contained in:
ljain112
2025-04-07 14:09:52 +05:30
committed by Mergify
parent 2bed1c8336
commit 14b4d147a8

View File

@@ -61,7 +61,7 @@ frappe.query_reports["General Ledger"] = {
fieldtype: "Autocomplete",
options: Object.keys(frappe.boot.party_account_types),
on_change: function () {
frappe.query_report.set_filter_value("party", "");
frappe.query_report.set_filter_value("party", []);
},
},
{