Skip to content

[16.0][FIX] stock_location_orderpoint: reclaim moves from lower priority orderpoints - #90

Draft
nicolas-delbovier-acsone wants to merge 2 commits into
OCA:16.0from
acsone:16.0-fix-stock_location_orderpoint-reclaim-lower-priority-moves
Draft

[16.0][FIX] stock_location_orderpoint: reclaim moves from lower priority orderpoints #90
nicolas-delbovier-acsone wants to merge 2 commits into
OCA:16.0from
acsone:16.0-fix-stock_location_orderpoint-reclaim-lower-priority-moves

Conversation

@nicolas-delbovier-acsone

Copy link
Copy Markdown

When running replenishment for a higher-priority orderpoint after a lower-priority
one, existing replenishment moves covering actual demand were
causing the procurement engine to skip updating the necessary moves.

…derpoints

When running replenishment for a higher-priority orderpoint after a lower-priority
one, existing replenishment moves covering actual demand were
causing the procurement engine to skip updating the necessary moves.
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @mt-software-de, @lmignon,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added mod:stock_location_orderpoint Module stock_location_orderpoint series:16.0 labels Jul 22, 2026
Comment on lines +490 to +492
replenishment_moves = (
self._reclaim_replenishing_moves_from_lower_priority_orderpoints()
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicolas-delbovier-acsone IMO it's semantically wrong to return replenishment moves generated by others orderpoint. This change breaks the api.

@nicolas-delbovier-acsone
nicolas-delbovier-acsone marked this pull request as draft July 27, 2026 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:stock_location_orderpoint Module stock_location_orderpoint series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants