Stock Restrict Lot Domain
Only apply lot restriction on products in a domain
Stock Restrict Lot Domain
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.
Usage
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.
Credits
Authors
- Ooops404
- PyTech SRL
Contributors
- Ooops404
- Francesco Foresti francesco.foresti@ooops404.com
- PyTech SRL
- Alessandro Uffreduzzi <alessandro.uffreduzzi@pytech.it>
Maintainers
This module is maintained by the OCA.
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:
This module is part of the OCA/stock-logistics-workflow project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Once the user has seen at least one product this snippet will be visible.