Skip to content
Snippets Groups Projects
Commit 61cd8337 authored by PNO's avatar PNO
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#82323

Signed-off-by: default avatarArnold Moyaux <arm@odoo.com>
parent d79197f1
No related branches found
No related tags found
No related merge requests found
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