Skip to content

[18.0][FIX] barcode_stock: open a move reserved against a lot with that lot chosen - #17

Draft
szalatyzuzanna wants to merge 1 commit into
OCA:18.0from
BinhexTeam:18.0-fix-barcode_stock-reserved-lot
Draft

szalatyzuzanna wants to merge 1 commit into
OCA:18.0from
BinhexTeam:18.0-fix-barcode_stock-reserved-lot

Conversation

@szalatyzuzanna

Copy link
Copy Markdown

A delivery or internal move that Odoo reserved against a lot opened in the move wizard with no lot chosen. The operator, tapping the move or scanning the product, had to pick from the list the very lot the reservation already named (the card even shows it) before confirming, or get "Please select a lot".

The wizard now opens with the lot of the move's first reserved line that still has something to pick, as Odoo's own barcode app does, and confirming fills that reserved line. When the reservation is spread over several lots, they come in turn as each is picked. A lot carried by the scan, or one the operator chooses, still wins; receptions, untracked products and operations that do not pick from existing lots are left as they were.

Tests

  • HOOT: the reserved lot chosen (and listed even if the lots offered had left it out), the next reserved lot once the first is picked, none once everything is picked, and a scanned lot, a reception, an untracked product and a lotless reservation left alone.

@BinhexTeam

… chosen

A delivery or internal move that Odoo reserved against a lot opened with no
lot chosen, so the operator had to pick from the list the very lot the
reservation already named before confirming. It now opens with the lot of the
first reserved line that still has something to pick, as Odoo's own barcode
app does; a scanned lot, or one the operator chooses, still wins. Receptions
are left as they were.

With that lot chosen, what is left to pick (shown, and filled by Fulfill) is
what its reservation still holds, not the whole move: a move reserved over
several lots is completed lot by lot.
@szalatyzuzanna
szalatyzuzanna force-pushed the 18.0-fix-barcode_stock-reserved-lot branch from a7f1b7d to 8ab23b6 Compare October 23, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants