OdooWiki OCA HUB

Enforce manually selected lot

stock_move_manual_lot folder_open OCA/stock-logistics-workflow open_in_new
Stock License: AGPL-3

This module forces users to manually select lots, undoing Odoo's automatic assignment of lots.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

This module forces warehouse users to manually choose the lot or serial number for tracked products on transfers, instead of letting Odoo pick one automatically. It adds a setting on operation types and a new Lot/Serial field on transfer lines.

When enabled on an operation type, this module changes how lots and serial numbers are handled on transfers. A new option 'Use manual lot selection' appears on the operation type form, next to the existing lot settings.

On transfer lines, a new 'Lot/Serial' field is shown and the standard lot field is hidden, so users must pick the lot themselves. If a tracked product has no manual lot when the transfer is validated, Odoo blocks it with an error listing the products missing a lot.

  • The module also keeps the manual lot in sync with the actual lot after validation, so visibility is not lost.
  • It reuses empty move lines and re-reserves stock when a manual lot is chosen, so quantities stay correct.
  • It touches stock.move.line, stock.picking and stock.picking.type.
  • A one-time setup copies existing lots into the new manual lot field for all move lines.
Models and fields (3)
  • stock.picking · extends an existing modeluse_manual_lot_selection
  • stock.move.line · extends an existing modelmanual_lot_id (Lot/Serial), use_manual_lot_selection
  • stock.picking.type · extends an existing modeluse_manual_lot_selection

Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/stock-logistics-workflow.

terminal Installation and usage

OCA documentation · Odoo 12.0

To use this module, you need to check the box Use manual lot selection on some picking type.

For pickings using this type, users will be forced to select lot numbers manually.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.