This module allows you to select a lot number on sale order line. This selected lot number will be the one delivered to the Customer.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Lets salespeople pick a specific lot or serial number on a sale order line, so that exact lot is the one reserved and delivered to the customer. It also adds lot information to the sales analysis report.
When you add a product that is tracked by lot or serial number to a sale order, a new "Lot" field appears on the order line (in the list, the form and the kanban view). Only lots that are actually in stock in the warehouse and have enough available quantity for the ordered quantity are offered. The field is hidden for products that are not tracked, and it becomes read-only once some quantity has already been delivered.
Business rules added by the module: - Changing the lot on a line that already has stock moves is blocked once all those moves are done; if moves are still pending, they are updated to the new lot and re-reserved automatically. - When a serial-numbered line is confirmed, Odoo checks that the chosen serial number is really available in the required quantity and refuses confirmation with an error message otherwise. - The chosen lot is passed to the delivery process, so the delivery reserves that lot.
In Settings, under Sales, a new option "Exclude pending orders from the lot selection" can be enabled. When it is on, serial numbers already used on draft or sent quotations/orders are no longer proposed for other orders.
The Sales Analysis report gains a "Lot" column, a Lot filter in the search view and a Lot grouping option. Salespeople get read access to lot/serial records so they can select them.
Depends on
Required by other modules
Models and fields (4)
- res.company · extends an existing modelsale_order_lot_selection_exclude_pending_orders (Exclude pending orders from the lot selection)
- sale.report · extends an existing modellot_id (Lot)
- sale.order.line · extends an existing modellot_id, domain_lot_id, product_tracking
- res.config.settings · extends an existing modelsale_order_lot_selection_exclude_pending_orders
Text generated by AI (DeepSeek) from reading the Odoo 19.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-03Confirmation status: 8 confirmed, 1 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/sale-workflow.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0- Create/edit a product and set traceability by 'By Lots' option.
- Create a new lot number and assign product.
- Update quantity for that product and assign lot number.
- Go to Sales \> Orders \> Quotations.
- Create a new quotation and add recently above configured product.
- Select lot number and confirm it.
- Delivery order will reserve the lot when available
- If the "Exclude pending orders from the lot selection" option is selected in Sales > Configuration > Product Catalog, serials defined in pending orders will be excluded.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.