Sale Order Lot Selection By Quant
This module adds a button on the Sale Order Line that lets the user select a lot by choosing from the available quants.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Adds a search button next to the Lot field on sale order lines so users can pick a lot from a popup list of available stock quants instead of typing it.
When you edit a sale order line and a product is set, a small magnifier button appears next to the Lot field. Clicking it opens a popup titled "Select Lot By Location" that lists stock quants (stock by lot and location) for that product.
- The popup only shows quants that have a lot, are in internal or transit locations, and belong to the same company as the sale order (or have no company).
- Clicking a row in the popup closes it and fills the Lot field on the sale order line with the lot of the selected quant.
- The button is only visible in edit mode and only when a product is already chosen on the line.
The module changes the sale order form and the sale order line form so the Lot field uses this new selection widget. It also adds a dedicated list view for stock quants used inside the popup, and a window action that opens that popup.
It depends on the Sale Order Lot Selection module, which already adds the Lot field to sale order lines. No new menus are added; the feature is reached directly from the Lot field on the sale order line.
Depends on
Text generated by AI (DeepSeek) from reading the Odoo 14.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: 1 confirmed, 8 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 14.0Usage
Source · Odoo 14.0- Create a sales order and a sales order line.
- In edit mode, select a product for the sales order line, and a button should appear next to the "lot" field
- Click the button with the magnifiying glass
- Select one of the quants shown (only quants with a lot/serial number set are shown)
- The lot is automatically filled based on the selected quant
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.