Skip to content
Snippets Groups Projects
Commit 8cd6c3c8 authored by PNO's avatar PNO Committed by Arnold Moyaux
Browse files

[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: default avatarArnold Moyaux (arm) <arm@odoo.com>
parent 1eaa36fa
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment