Skip to content
Snippets Groups Projects
Commit 348f8f10 authored by William Henrotin's avatar William Henrotin
Browse files

[FIX] mrp: convert quantity in product UoM


If a component is used in a production with another unit of measure
than it's one, the created stock move line could not convert the quantity
correctly.
If there is enough quantity in stock, the created move line takes the
quant uom but the quantity in the production ones.
ex: consume 1 dozen, the quantity on the stock move line is 1 unit

This commit always uses the wo line's UoM and quantity to create the
stock move line.

This commit is a backport of d813873f (in 13.1)
opw 2154288

closes odoo/odoo#41954

Signed-off-by: default avatarArnold Moyaux <amoyaux@users.noreply.github.com>
parent 1b1437d6
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