Stock Restrict Lot Domain

Stock Restrict Lot Domain

Available versions
Technical name
Secure dependencies
Stock Restrict Lot Domain

Stock Restrict Lot Domain

Beta License: AGPL-3 OCA/stock-logistics-workflow Translate me on Weblate Try me on Runboat

This module builds on stock_restrict_lot and exposes the field restrict_lot_id of stock.move, allowing the user to update or even remove the lot restriction if the product does not fall within a domain.

The domain can be updated in the settings of each individual company.

Any change to restrict_lot_id is propagated to linked stock moves, but only forwards, not backwards.

Table of contents

Use Cases / Context

In a setup where lot selection is managed both at sale level and warehouse level (but the final call is made by warehouse flows), there can be the need to select a different lot than the one set in sale order line. As current sale order lot selection modules are depending on stock_restrict_lot (which doesn’t allow to select a different lot in picking), this module allows to limit the restriction to for specific products.


Go to Settings > Inventory > Enforce lot restrictions

Set a domain for the products for which lot restriction on stock moves should apply (empty domain: all products)

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Ooops404
  • PyTech SRL



This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

aleuffre renda-dev

This module is part of the OCA/stock-logistics-workflow project on GitHub.

You are welcome to contribute. To learn how please visit

0.0 / 5.0
based on 0 ratings
This theme does not use any external Python dependencies.

Available languages

Language % translated
Italian / Italiano