[FIX] stock: Fix quantity done on lots changing to 1
Issue: At anypoint we should be able to call the method "_set_lot_ids" from stock.move on moves that are already done and the quantities should not change. This is not the case for lots that get their quantity changes to 1 as if the product was tracked by serial number. This commit should be seen a a complement to the commit: https://github.com/odoo/odoo/pull/79565 Fix: Check the product is tracked by SN before trying to change the quantities to 1. Related ticket: 2689724 closes odoo/odoo#100640 X-original-commit: e6fa1e24aaeaca543b9acae7f876d30def131a59 Signed-off-by:Arnold Moyaux (arm) <arm@odoo.com>
Loading
Please register or sign in to comment