Evaluate expiry of product in order to check if we can deliver the product
auto_awesome What this module does
AI-generated from the code · Odoo 18.0In the Point of Sale, when a cashier enters a lot number for a product that tracks expiration dates, Odoo checks the lot's expiry date and blocks the sale if the lot is expired or unknown.
This module adds an expiry check to the Point of Sale for products that are tracked by lot and have an expiration date.
- A new setting called "Check expiry" appears in the Point of Sale settings, next to the existing options. It is turned on by default and can be switched off per point of sale.
- When a cashier enters or changes a lot number on an order line for a product that uses expiration dates, Odoo looks up that lot for the product and the current company.
- If no matching lot is found, a pop-up titled "Problem with lots" appears saying that the lot was not found and no changes were applied.
- If the lot is found but its expiration date is in the past, another pop-up appears saying the lot is expired and that selling expired lots is not allowed, and no changes are applied.
- If the lot is valid, the lot number is accepted as usual.
The check only runs when the point of sale has the "Check expiry" option enabled and the product is configured to use expiration dates. The module also makes sure the expiration-date flag of products is available to the Point of Sale interface. It touches the point of sale configuration, the settings screen, products, and order lines.
Depends on
Models and fields (2)
- pos.config · extends an existing modelcheck_lot_expiry
- res.config.settings · extends an existing modelpos_check_lot_expiry
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: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/pos.
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.