From 0906737bd3176cd63cd35c88aa1c4c9274d6c376 Mon Sep 17 00:00:00 2001 From: Shllokkk <140623894+Shllokkk@users.noreply.github.com> Date: Tue, 16 Jun 2026 11:43:52 +0530 Subject: [PATCH] fix(budget): add root_type filter on account field (#55934) (cherry picked from commit 52b406f5f177a98d8ecefea953fb4af4a55dd8ae) --- erpnext/accounts/doctype/budget/budget.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/budget/budget.js b/erpnext/accounts/doctype/budget/budget.js index 5128fdc9c92..d1f9da66c0a 100644 --- a/erpnext/accounts/doctype/budget/budget.js +++ b/erpnext/accounts/doctype/budget/budget.js @@ -17,6 +17,7 @@ frappe.ui.form.on("Budget", { filters: { is_group: 0, company: frm.doc.company, + root_type: ["in", ["Income", "Expense"]], }, }; });