Skip to content

[19.0][FIX] ddmrp: aggregate future actual demand in product UoM#6

Merged
dnplkndll merged 1 commit into
19.0from
19.0-fix-adu-future-uom
Jun 15, 2026
Merged

[19.0][FIX] ddmrp: aggregate future actual demand in product UoM#6
dnplkndll merged 1 commit into
19.0from
19.0-fix-adu-future-uom

Conversation

@dnplkndll

Copy link
Copy Markdown

Upstream-staging branch: exactly the future-ADU UoM fix + its regression test, isolated from #4 for separate upstream filing. Red-proof (same test, no fix, CI red): #5.

The 19.0 migration switched _calc_adu_future_demand from summing
product_qty (product UoM) to product_uom_qty (move UoM). A confirmed
future delivery of 5 Dozen then contributed 5 instead of 60 to the ADU,
undersizing buffers for any non-unit secondary UoM. The past-demand path
already aggregates in product UoM (quantity_product_uom).
@dnplkndll dnplkndll force-pushed the 19.0-fix-adu-future-uom branch from 8122140 to dc9f943 Compare June 11, 2026 11:38
@dnplkndll dnplkndll merged commit 1ef1538 into 19.0 Jun 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant