mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-17 18:45:20 +00:00
fix(mrp): align monthly bucket labels with demand dates (#58963)
(cherry picked from commit b1e99a70ac)
This commit is contained in:
committed by
Mergify
parent
df62766157
commit
c5773e7899
@@ -1114,7 +1114,7 @@ class MaterialRequirementsPlanningReport:
|
|||||||
args["to_date"] = add_days(from_date, -1)
|
args["to_date"] = add_days(from_date, -1)
|
||||||
|
|
||||||
if bucket_size == "Monthly":
|
if bucket_size == "Monthly":
|
||||||
args["label"] = formatdate(from_date, "MMM YYYY")
|
args["label"] = formatdate(args["from_date"], "MMM YYYY")
|
||||||
else:
|
else:
|
||||||
if bucket_size == "Weekly":
|
if bucket_size == "Weekly":
|
||||||
args["label"] = (
|
args["label"] = (
|
||||||
|
|||||||
Reference in New Issue
Block a user