Wednesday, April 13, 2016
1 change · master
Enhancements to existing features
This change prevents inventory records from linking a product to the wrong batch or lot. By blocking these inconsistent records, stock availability searches become more reliable and businesses avoid confusing or incorrect inventory results.
Original PR description
It is possible (and actually quite easy) to generate a quant where the lot's product does not match the quant's own product. That is however a severe incoherence and may lead to bizare effects when searching for available quants. It's probably much better to forbid that. Ported from https://github.com/odoo/odoo/pull/7159 to target master, as requested by @nim-odoo .