The Catalog lot control has been added to allow the use of the lot catalog in sales orders.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a "Lots" button to sales orders so users can pick available lots from a catalog and add them as order lines, with quantities and prices updated directly from the catalog.
This module brings the lot catalog into sales orders. On a sales order form, a "Lots" button appears in the order lines area. Clicking it opens a catalog where users can browse lots that are available in the warehouse's stock location and whose products are allowed to be sold.
When a user picks a lot and enters a quantity, the module automatically creates or updates the matching sales order line, setting the product, quantity and lot. If the quantity is set to zero on a draft or sent order, the line is removed and the default price from the pricelist is returned. On confirmed orders, setting the quantity to zero keeps the line but sets its quantity to zero.
The catalog shows each line's quantity, discounted price and a read-only flag. Lines become read-only when the order is cancelled or locked, or when the product has a blocking sales warning. If the product has a warning message, it is shown in the catalog.
A new field on sales order lines, lot_product_template_attribute_value_ids, displays the attribute values of the selected lot. The module also restricts the catalog to lots located under the sales order's warehouse stock location and to products marked as sellable.
Models and fields (2)
- sale.order · new model
- sale.order.line · extends an existing modellot_product_template_attribute_value_ids (Lot Attribute Values)
Text generated by AI (DeepSeek) from reading the Odoo 18.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 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/stock-logistics-warehouse.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0To access the lot catalog from a sales order.
- Go to an existing sales order or create a new one.
- In the order lines list there's a new option named Catalog lot.
- Click it and start adding lots to the order.
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.