Merge pull request #55954 from frappe/mergify/bp/version-15-hotfix/pr-55934

fix(budget): add root_type filter on account field (backport #55934)
This commit is contained in:
ruthra kumar
2026-06-16 14:10:04 +05:30
committed by GitHub

View File

@@ -22,6 +22,19 @@ frappe.ui.form.on("Budget", {
};
});
<<<<<<< HEAD
=======
frm.set_query("account", function () {
return {
filters: {
is_group: 0,
company: frm.doc.company,
root_type: ["in", ["Income", "Expense"]],
},
};
});
>>>>>>> 52b406f5f1 (fix(budget): add root_type filter on account field (#55934))
erpnext.accounts.dimensions.setup_dimension_filters(frm, frm.doctype);
},