OdooWiki OCA HUB
Purchase License: AGPL-3

This module adds the lot_id field in the purchase order lines, and propagates it to stock pickings in the order confirmation.

This module can also be used along with sale_order_lot_selection to propagate lot from sale orders to purchase orders. It allows to buy specific lot for a sale order (may be useful for fully configurable products)

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a Serial Number / Lot field on purchase order lines so buyers can specify which lot they want to buy. The chosen lot is carried over to the receipt stock moves, keeping the purchase linked to that specific lot.

This module lets you record a specific lot or serial number directly on a purchase order line. On the purchase order form, a new Serial Number column appears next to the product description, but only for products that are tracked by lot or serial number and only for users allowed to manage lots. The same field is also available on the detailed purchase order line form.

When the purchase order is confirmed, the lot you selected is copied onto the related stock moves, so the receipt is tied to that exact lot. If the purchase was generated automatically from another document that already carried a lot (for example a sale order), that lot is filled in on the purchase line automatically.

  • The lot field is filtered to show only lots belonging to the selected product.
  • The field is hidden for products that are not tracked.
  • A new search filter called Serial Number is added to the purchase orders search view, so you can find purchase orders by the lot written on their lines.
  • Procurement merging takes the lot into account, so lines with different lots are not merged together.

The module works together with the stock restriction on lots, so the lot chosen on the purchase is the one expected on the receipt.

Depends on

purchase_stockstock_restrict_lot
Models and fields (2)
  • stock.rule · extends an existing model
  • purchase.order.line · extends an existing modellot_id (Serial Number), tracking

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/purchase-workflow.

terminal Installation and usage

No verified information

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.

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.