Skip to content
Snippets Groups Projects
Commit 7c984d57 authored by Arnold Moyaux's avatar Arnold Moyaux
Browse files

[FIX] stock: forbid to modify product on done move line


It happens that people modify the product on done stock.move.line
(it's not possible without customisation, at least allow to import or
to modify product and lot_id in the same view).

During the write on stock.move.line only the lot,locations,package and
owner are update on the quant. Not the product since it's not suppose to
be modify. It leads to a stock.move.line with a correct information but
a total mess on the quants with a lot updated and the previous product.
Since the product is not modified, the product on the quant and the
product on the lot linked to the same quant are different.

closes odoo/odoo#43180

Task: 2119471
X-original-commit: f2a4f701
Signed-off-by: default avatarArnold Moyaux <amoyaux@users.noreply.github.com>
parent b5c9387c
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment