mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-14 09:23:09 +00:00
fix(mrp): align monthly bucket labels with demand dates (#58963)
This commit is contained in:
committed by
GitHub
parent
d5e63b8a9e
commit
b1e99a70ac
@@ -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"] = (
|
||||
|
||||
Reference in New Issue
Block a user