Skip to content

[16.0][IMP] stock_full_location_reservation: Introduce a strict mode#1193

Open
lmignon wants to merge 5 commits into
OCA:16.0from
acsone:16.0-stock_full_reservation_strict_mode-lmi
Open

[16.0][IMP] stock_full_location_reservation: Introduce a strict mode#1193
lmignon wants to merge 5 commits into
OCA:16.0from
acsone:16.0-stock_full_reservation_strict_mode-lmi

Conversation

@lmignon

@lmignon lmignon commented Jun 22, 2026

Copy link
Copy Markdown

As in some flows we need to limit the full reservation to the move line characteristics (lot, package, owner), add a strict mode that will use the Odoo core mechanism to gather the needed quant(ities).

Recover work from mt-software-de#6

@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@OCA-git-bot OCA-git-bot added series:16.0 mod:stock_full_location_reservation Module stock_full_location_reservation labels Jun 22, 2026
@lmignon

lmignon commented Jun 22, 2026

Copy link
Copy Markdown
Author

ping @jbaudoux @rousseldenis

@lmignon lmignon force-pushed the 16.0-stock_full_reservation_strict_mode-lmi branch 2 times, most recently from b9e87ca to 51c8ec6 Compare June 24, 2026 07:46
lmignon added 3 commits June 24, 2026 09:50
As in some flows we need to limit the full reservation to the move
line characteristics (lot, package, owner), add a strict mode that
will use the Odoo core mechanism to gather the needed quant(ities)
Replace the 'strict' and 'package_only' parameters with a new reservation_mode
parameter that can be set to "strict", "package" . The default behavior is
the same as before but it ensures that the reservation mode is unique
and can be extended in the future with new modes.
@lmignon lmignon force-pushed the 16.0-stock_full_reservation_strict_mode-lmi branch from 51c8ec6 to 9b0d8df Compare June 24, 2026 07:51
lmignon added 2 commits June 24, 2026 09:59
…uct"

Added a new reservation_mode "product" to the stock_full_location_reservation module.
This mode allows for reserving all the same product at location,
regardless of the package or lot.
@lmignon lmignon force-pushed the 16.0-stock_full_reservation_strict_mode-lmi branch from 9b0d8df to 4d2d5b9 Compare June 24, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:stock_full_location_reservation Module stock_full_location_reservation series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants