| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 806 |
| Technical Name |
gb_min_shelf_life_fefo_picking_rules |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
| Lines of code | 806 |
| Technical Name |
gb_min_shelf_life_fefo_picking_rules |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
Min-Shelf-Life / FEFO Pic
Enforce FEFO picking and customer minimum shelf-life acceptance rules for dated stock
Food and pharma distributors get rejected deliveries and credit notes when goods arrive with too little life left, or when a later-expiring lot is shipped while fresher-but-older stock sits in the warehouse. This module adds the two controls Odoo's inventory is missing: FEFO enforcement and customer minimum shelf-life acceptance — evaluated automatically on every outgoing delivery and enforced as a warning or a hard block.
Key Features
FEFO enforcement
At validation the module scans every tracked move line and detects when a later-expiring lot was picked while an earlier-expiring lot of the same product was available in the same source location — warn or block per warehouse.
Customer minimum shelf-life
Define per customer — and optionally per product or category — the minimum remaining shelf life required at dispatch, as a percentage of total life or an absolute number of days.
Most-specific rule wins
A specificity score resolves overlapping rules in the order product > category > customer-wide > global, so a single global default and targeted exceptions coexist cleanly.
Per-line compliance flags
Each delivery move line shows the applied rule, remaining days, remaining % and a clear OK / Warning / Blocked / N-A status, so pickers see issues before the truck leaves.
Re-pick FEFO wizard
A one-click wizard re-assigns lots in strict expiry order to clear FEFO violations without manual lot juggling.
Audited overrides
When a delivery must go out despite a block, an authorised override is logged per line — rule, product, lot and remaining days at the moment of override — for a full compliance trail.
Built on native expiry tracking
Extends Odoo's product_expiry lot dates — no parallel data, no duplicate master data to maintain.
Block at the right moment
Validation-time checks stop the problem before goods ship, instead of discovering it on a customer rejection.
UK food & pharma ready
Tuned for the date-code discipline UK retailers and the supply chain demand on perishable and pharmaceutical goods.
Warn or block, your call
Configure soft warnings during roll-out and switch to hard blocking once your data is clean.
Screenshots
Shelflife Overrides
Shelflife Rules
Why Choose This Module
At validation the module scans every tracked move line and detects when a later-expiring lot was picked while an earlier-expiring lot of the same product was available in the same source location — warn or block per warehouse.
Specifications
- Compatible: Odoo 18.0 / 19.0
- License: LGPL-3
- Languages: 35+
- Author: Baris Genc
- Dependencies: stock, product_expiry
- Support: odoo@gencbaris.com
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module