Stock Restrict Expiration date
This module add a field to restrict a stock move to a specific expiration date. It propagates it between chained moves. A move with a restrict expiration date will only be able to reserve or transfer products with the specified expiration date.
This module is a base module for other modules, it has not effect on its own.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Adds a "Restrict Expiration date" field on stock moves so a move can be limited to products with one specific expiration date. It is a technical base module: on its own it only adds the field and the reservation logic.
This module adds a new date field called "Restrict Expiration date" on stock moves. It appears on the Operations tab of a transfer (stock.picking), both in the list of move lines and in the detailed form of a move line, where it is hidden by default in the list view.
When a move has a restrict expiration date, the reservation logic only considers stock whose lot has exactly that expiration date. Stock without any lot is still allowed. This filtering is applied when Odoo looks for available quantities and when it reserves them.
The value is also carried over to chained moves: when a stock rule creates the next move, the restrict expiration date is passed along, so the restriction follows the goods through the chain.
Moves with different restrict expiration dates are not merged together, because the field is added to the list of fields that keep moves distinct.
As stated in its own description, this is a base module for other modules and has no effect on its own: nothing forces users to fill the field, and no menu or report is added. It only prepares the field, the reservation filter and the propagation so that other modules can use them.
Depends on
Models and fields (2)
- stock.move · extends an existing modelrestrict_expiration_date (Restrict Expiration date)
- stock.rule · extends an existing model
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/stock-logistics-workflow.
terminal Installation and usage
No verified informationInstallation 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.