The stock_lot_sled module has this check:
https://hg.tryton.org/modules/stock_lot_sled/file/tip/stock.py#l380
That prevents closing a period if there are moves for lots whose shelf life expiration date is later than today.
We’re facing a problem with a company that produces species (among many other stuff). Species have +3 years of shelf life so it prevents us from closing the 2019 period, for example.
I also understand that it can be a problem with products that have shorter shelf life periods but a very large number of stock moves.
So is that check really a good idea? Would at least be possible to make that check optional or find a way to make it possible for a module to override it without the need of patching?