From fa0ac8db4d568189107bbcacc40845334c436618 Mon Sep 17 00:00:00 2001 From: khushi8112 Date: Mon, 5 Jan 2026 14:37:38 +0530 Subject: [PATCH 1/2] fix: use non-standard-fieldname-for-bdget --- erpnext/accounts/doctype/fiscal_year/fiscal_year_dashboard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/fiscal_year/fiscal_year_dashboard.py b/erpnext/accounts/doctype/fiscal_year/fiscal_year_dashboard.py index bc966916ef3..ecbde0acdda 100644 --- a/erpnext/accounts/doctype/fiscal_year/fiscal_year_dashboard.py +++ b/erpnext/accounts/doctype/fiscal_year/fiscal_year_dashboard.py @@ -4,6 +4,7 @@ from frappe import _ def get_data(): return { "fieldname": "fiscal_year", + "non_standard_fieldnames": {"Budget": "from_fiscal_year"}, "transactions": [ {"label": _("Budgets"), "items": ["Budget"]}, {"label": _("References"), "items": ["Period Closing Voucher"]}, From 01c560eb99e1e53c75778122ec45900918a79351 Mon Sep 17 00:00:00 2001 From: khushi8112 Date: Mon, 5 Jan 2026 14:38:33 +0530 Subject: [PATCH 2/2] refactor: remove budget reference from monthly distribution dashboard --- .../monthly_distribution/monthly_distribution_dashboard.py | 1 - 1 file changed, 1 deletion(-) diff --git a/erpnext/accounts/doctype/monthly_distribution/monthly_distribution_dashboard.py b/erpnext/accounts/doctype/monthly_distribution/monthly_distribution_dashboard.py index ba2cb671d40..921af59b50a 100644 --- a/erpnext/accounts/doctype/monthly_distribution/monthly_distribution_dashboard.py +++ b/erpnext/accounts/doctype/monthly_distribution/monthly_distribution_dashboard.py @@ -11,6 +11,5 @@ def get_data(): }, "transactions": [ {"label": _("Target Details"), "items": ["Sales Person", "Territory", "Sales Partner"]}, - {"items": ["Budget"]}, ], }