fix(mrp): align monthly bucket labels with demand dates (#58963)

This commit is contained in:
Sudharsanan Ashok
2026-09-10 17:43:44 +05:30
committed by GitHub
parent d5e63b8a9e
commit b1e99a70ac

View File

@@ -1113,7 +1113,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"] = (