diff --git a/erpnext/accounts/doctype/budget/budget.js b/erpnext/accounts/doctype/budget/budget.js index 968700ede4c..4ab94ed0f55 100644 --- a/erpnext/accounts/doctype/budget/budget.js +++ b/erpnext/accounts/doctype/budget/budget.js @@ -12,6 +12,15 @@ frappe.ui.form.on("Budget", { }; }); + frm.set_query("account", function () { + return { + filters: { + is_group: 0, + company: frm.doc.company, + }, + }; + }); + erpnext.accounts.dimensions.setup_dimension_filters(frm, frm.doctype); frappe.db.get_single_value("Accounts Settings", "use_legacy_budget_controller").then((value) => { if (value) {