From c5773e78994fe5887ef0deb889a6b625639352b2 Mon Sep 17 00:00:00 2001 From: Sudharsanan Ashok <135326972+Sudharsanan11@users.noreply.github.com> Date: Thu, 10 Sep 2026 17:43:44 +0530 Subject: [PATCH] fix(mrp): align monthly bucket labels with demand dates (#58963) (cherry picked from commit b1e99a70ac9b72417d59203c38dde0fe4ee6890b) --- .../material_requirements_planning_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/report/material_requirements_planning_report/material_requirements_planning_report.py b/erpnext/manufacturing/report/material_requirements_planning_report/material_requirements_planning_report.py index ba53db1c66e..766637afad8 100644 --- a/erpnext/manufacturing/report/material_requirements_planning_report/material_requirements_planning_report.py +++ b/erpnext/manufacturing/report/material_requirements_planning_report/material_requirements_planning_report.py @@ -1114,7 +1114,7 @@ class MaterialRequirementsPlanningReport: args["to_date"] = add_days(from_date, -1) if bucket_size == "Monthly": - args["label"] = formatdate(from_date, "MMM YYYY") + args["label"] = formatdate(args["from_date"], "MMM YYYY") else: if bucket_size == "Weekly": args["label"] = (